• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[/
2 / Copyright (c) 2008 Eric Niebler
3 /
4 / Distributed under the Boost Software License, Version 1.0. (See accompanying
5 / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 /]
7
8[section Installing xpressive]
9
10[h2 Getting xpressive]
11
12There are two ways to get xpressive. The first and simplest is to download
13the latest version of Boost. Just go to [@http://sf.net/projects/boost] and
14follow the ["Download] link.
15
16The second way is by directly accessing the Boost Subversion repository.
17Just go to [@http://svn.boost.org/trac/boost/] and follow the instructions there for
18anonymous Subversion access. The version in Boost Subversion is unstable.
19
20[h2 Building with xpressive]
21
22Xpressive is a header-only template library, which means you don't need to alter
23your build scripts or link to any separate lib file to use it. All you need to
24do is `#include <boost/xpressive/xpressive.hpp>`. If you are only using static
25regexes, you can improve compile times by only including `xpressive_static.hpp`.
26Likewise, you can include `xpressive_dynamic.hpp` if you only plan on using
27dynamic regexes.
28
29If you would also like to use semantic actions or custom assertions with your
30static regexes, you will need to additionally include `regex_actions.hpp`.
31
32[h2 Requirements]
33
34Xpressive requires Boost version 1.34.1 or higher.
35
36[h2 Supported Compilers]
37
38Currently, Boost.Xpressive is known to work on the following compilers:
39
40* Visual C++ 7.1 and higher
41* GNU C++ 3.4 and higher
42* Intel for Linux 8.1 and higher
43* Intel for Windows 10 and higher
44* tru64cxx 71 and higher
45* MinGW 3.4 and higher
46* HP C/aC++ A.06.14
47
48[/ * QNX qcc 3.3 and higher]
49[/ * Metrowerks CodeWarrior 9.4 and higher]
50
51Check the latest tests results at Boost's
52[@http://beta.boost.org/development/tests/trunk/developer/xpressive.html
53Regression Results Page].
54
55[note Please send any questions, comments and bug reports to eric <at>
56boost-consulting <dot> com.]
57
58[endsect]
59