0
|
1 This package uses CMake (cmake.org) as building system. You'll need the cmake tool in order |
|
2 to generate the Makefiles for your platform. You can also select which extensions must be built. |
|
3 |
|
4 Building in a separate directory is recommended: |
|
5 mkdir build |
|
6 cd build |
|
7 cmake ../ |
|
8 make |
|
9 |
|
10 You can enable the unary tests by doing: |
|
11 cmake -DNO_TESTS:BOOL=OFF ../ |
|
12 make |
|
13 make tests |
|
14 |
|
15 Note: instead of passing options on the command line, you can edit the CCmakeCache.txt file |
|
16 or use a CMake front-end (for example cmake-gui) |
|
17 |
|
18 Note that there are dependencies on some external tools that may not be enforced by the configure script. |
|
19 On Ubuntu Intrepid, the following packages were required (aptitude install ...): |
|
20 gcc make flex bison libsctp1 libsctp-dev cmake |
|
21 |
|
22 On FreeBSD the following packages were required: |
|
23 cmake flex bison |
|
24 Then the cmake command had to look like: |
|
25 cmake -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex ... |
|
26 |
|
27 make install has not been tested yet and will probably not behave as expected! |
|
28 |
|
29 You can also configure which extensions to build with CMake: |
|
30 NoExtensions:BOOL=OFF (or the following are ignored) |
|
31 BUILD_APP_TEST:BOOL=ON |
|
32 BUILD_RT_ANY:BOOL=ON |
|
33 BUILD_RT_DEBUG:BOOL=ON |
|
34 BUILD_RT_DEFAULT:BOOL=ON |
|
35 BUILD_SAMPLE:BOOL=ON |
|
36 |
|
37 You can change the default configuration file name: |
|
38 DEFAULT_CONF_FILE:STRING=/path/to/some/freediameter.conf |
|
39 |