Mercurial > hg > freeDiameter
view INSTALL @ 304:ad3c46016584
Added install directives for cmake; also allow default directory to seek for extensions and configuration files
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 14 May 2010 17:26:53 +0900 |
parents | 71e508379671 |
children | 5133b45e3305 |
line wrap: on
line source
This package uses CMake (cmake.org) as building system. You'll need the cmake tool in order to generate the Makefiles for your platform. You can also select which extensions must be built. Building in a separate directory is recommended: # mkdir build # cd build # cmake ../ # make Note: instead of passing options on the command line, you can use a CMake front-end (for example ccmake or cmake-gui) or edit the CCmakeCache.txt file directly. If your cmake installation is recent, you can also do: # mkdir build # cd build # cmake ../ # make edit_cache # make You can enable the unary tests by doing: # cmake -DSKIP_TESTS:BOOL=OFF ../ # make # make tests Note that there are dependencies on external tools that may not be enforced by the configure script. See the specific INSTALL.distro files matching your situation. You can configure which extensions to build with CMake: IGNORE_ALL_EXTENSIONS:BOOL=OFF (or the following are ignored) BUILD_SAMPLE:BOOL=ON BUILD_DICT_NASREQ:BOOL=ON BUILD_APP_RADGW:BOOL=ON ... You can change the default configuration file pathname: DEFAULT_CONF_FILE:STRING=/path/to/some/freeDiameter.conf Build binary with symbols, for debug: CMAKE_BUILD_TYPE:STRING=Debug