Mercurial > hg > freeDiameter
annotate INSTALL @ 234:f91fe0b85928
Updated INSTALL files
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 04 Mar 2010 17:32:00 +0900 |
parents | 277ec00d793e |
children | 7842bed901ca |
rev | line source |
---|---|
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: | |
20
277ec00d793e
Backup before typhoon... Progress on server side
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
18
diff
changeset
|
11 cmake -DSKIP_TESTS:BOOL=OFF ../ |
0 | 12 make |
13 make tests | |
14 | |
1
bafb831ba688
Fix names to proper case for freeDiameter
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
0
diff
changeset
|
15 Note: instead of passing options on the command line, you can use a CMake front-end (for example cmake-gui) |
bafb831ba688
Fix names to proper case for freeDiameter
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
0
diff
changeset
|
16 or edit the CCmakeCache.txt file directly. |
0 | 17 |
1
bafb831ba688
Fix names to proper case for freeDiameter
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
0
diff
changeset
|
18 Note that there are dependencies on external tools that may not be enforced by the configure script. |
234
f91fe0b85928
Updated INSTALL files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
20
diff
changeset
|
19 See the specific INSTALL.distro files matching your situation. |
0 | 20 |
21 make install has not been tested yet and will probably not behave as expected! | |
22 | |
234
f91fe0b85928
Updated INSTALL files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
20
diff
changeset
|
23 You can configure which extensions to build with CMake: |
1
bafb831ba688
Fix names to proper case for freeDiameter
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
0
diff
changeset
|
24 IGNORE_ALL_EXTENSIONS:BOOL=OFF (or the following are ignored) |
0 | 25 BUILD_APP_TEST:BOOL=ON |
26 BUILD_RT_ANY:BOOL=ON | |
27 BUILD_RT_DEBUG:BOOL=ON | |
28 BUILD_RT_DEFAULT:BOOL=ON | |
29 BUILD_SAMPLE:BOOL=ON | |
30 | |
1
bafb831ba688
Fix names to proper case for freeDiameter
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
0
diff
changeset
|
31 You can change the default configuration file pathname: |
bafb831ba688
Fix names to proper case for freeDiameter
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
0
diff
changeset
|
32 DEFAULT_CONF_FILE:STRING=/path/to/some/freeDiameter.conf |
0 | 33 |
20
277ec00d793e
Backup before typhoon... Progress on server side
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
18
diff
changeset
|
34 Build binary with symbols, for debug: |
277ec00d793e
Backup before typhoon... Progress on server side
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
18
diff
changeset
|
35 CMAKE_BUILD_TYPE:STRING=Debug |