-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathINSTALL
More file actions
72 lines (51 loc) · 2.45 KB
/
INSTALL
File metadata and controls
72 lines (51 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Installation Instructions
*************************
This project uses both the Boost.Build and CMake system which separately
automatically track link, include, and other dependencies among any number of
libraries and projects. You may use either the Boost.Build or CMake build
systems independently. Below, you should find instructions for using either
Boost.Build, CMake, or a general system-style installtion.
Boost.Build:
If you use Boost.Build, integrating this library into your own project is
EASY. No installation beyond storing Xylose somewhere on your harddrive. To
use Xylose in your Boost.Build project, you simply include a line like:
use-project /xylose : path/to/xylose ;
where the path/to/xylose path can be either relative or absolute.
This library has several sub-libraries that are useful and which will
invoke the proper linking to external libraries as needed.
/xylose//headers : only provides <include> dependencies
/xylose//xml : invokes linking to the external libxml2 library.
/xylose//xylose : invokes linking to all xylose libraries and
dependencies.
External libraries required by various components:
libxml2
This external library is only required for the /xylose//xml component.
libxml2 should be installed somewhere on your system and the xml2-config
command from that installation should be in your path.
CMake:
CMake files also accompany the package and make it easier to use in a
CMake environment. To use in a CMake environment, just add appropriate
lines to your master CMakeLists.txt file, such as
add_subdirectory(xylose)
You will also have to include the proper line for the include paths, such
as:
include_directories(
${CMAKE_SOURCE_DIR}/path/to/your/code
${CMAKE_SOURCE_DIR}/xylose/src
)
General Install:
These instructions are for installing this software into a standard layout
where libraries are installed to <prefix>/lib
and headers are installed to <prefix>/include
DEFAULT: <prefix> = /usr/local
For a simple install, just do:
bjam install
To change the installation path, use
bjam --prefix=/path/to/install/into/ install
For help on other options, execute
bjam --help
External library installations required:
physical
If the <xml/physical_parse.h> header is needed.
libxml2
If <xml/*.h> headers are needed.