Mercurial > hg > freeDiameter
annotate INSTALL @ 300:71e508379671
Initial test for 'make install' command
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 13 May 2010 17:10:51 +0900 |
parents | 7842bed901ca |
children | ad3c46016584 |
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 | |
290
7842bed901ca
Updated documentation
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
234
diff
changeset
|
15 Note: instead of passing options on the command line, you can use a CMake front-end (for example ccmake or cmake-gui) |
1
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 |
234
f91fe0b85928
Updated INSTALL files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
20
diff
changeset
|
21 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
|
22 IGNORE_ALL_EXTENSIONS:BOOL=OFF (or the following are ignored) |
0 | 23 BUILD_SAMPLE:BOOL=ON |
290
7842bed901ca
Updated documentation
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
234
diff
changeset
|
24 BUILD_DICT_NASREQ:BOOL=ON |
7842bed901ca
Updated documentation
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
234
diff
changeset
|
25 BUILD_APP_RADGW:BOOL=ON |
7842bed901ca
Updated documentation
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
234
diff
changeset
|
26 ... |
0 | 27 |
1
bafb831ba688
Fix names to proper case for freeDiameter
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
0
diff
changeset
|
28 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
|
29 DEFAULT_CONF_FILE:STRING=/path/to/some/freeDiameter.conf |
0 | 30 |
20
277ec00d793e
Backup before typhoon... Progress on server side
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
18
diff
changeset
|
31 Build binary with symbols, for debug: |
277ec00d793e
Backup before typhoon... Progress on server side
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
18
diff
changeset
|
32 CMAKE_BUILD_TYPE:STRING=Debug |