Mercurial > hg > freeDiameter
diff INSTALL @ 0:13530e1f02e3
Initial files imported
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 28 Aug 2009 19:14:42 +0900 |
parents | |
children | bafb831ba688 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/INSTALL Fri Aug 28 19:14:42 2009 +0900 @@ -0,0 +1,39 @@ +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 + +You can enable the unary tests by doing: +cmake -DNO_TESTS:BOOL=OFF ../ +make +make tests + +Note: instead of passing options on the command line, you can edit the CCmakeCache.txt file +or use a CMake front-end (for example cmake-gui) + +Note that there are dependencies on some external tools that may not be enforced by the configure script. +On Ubuntu Intrepid, the following packages were required (aptitude install ...): + gcc make flex bison libsctp1 libsctp-dev cmake + +On FreeBSD the following packages were required: + cmake flex bison +Then the cmake command had to look like: + cmake -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex ... + +make install has not been tested yet and will probably not behave as expected! + +You can also configure which extensions to build with CMake: +NoExtensions:BOOL=OFF (or the following are ignored) +BUILD_APP_TEST:BOOL=ON +BUILD_RT_ANY:BOOL=ON +BUILD_RT_DEBUG:BOOL=ON +BUILD_RT_DEFAULT:BOOL=ON +BUILD_SAMPLE:BOOL=ON + +You can change the default configuration file name: +DEFAULT_CONF_FILE:STRING=/path/to/some/freediameter.conf +