Mercurial > hg > freeDiameter
diff 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 diff
--- a/INSTALL Fri May 14 10:42:49 2010 +0900 +++ b/INSTALL Fri May 14 17:26:53 2010 +0900 @@ -2,18 +2,24 @@ 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 +# 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: 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. +# 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.