Changes between Version 15 and Version 16 of BuildingOnUnixWithCMake
- Timestamp:
- Mar 5, 2010, 6:00:08 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingOnUnixWithCMake
v15 v16 24 24 == Configure == 25 25 26 Important, it is highly recommended to configure build out of source code tree. 26 Important, it is highly recommended to configure build out of source code tree. For this purpose, prepare build directory (from now on referred to as ''BUILDDIR''): 27 27 28 28 {{{ … … 52 52 == Build == 53 53 54 In order to build GEOS C++ and C libraries, issue the command in ''BUILDDIR'': 55 54 56 {{{ 55 57 $ make … … 60 62 In CMake build system, testing capabilities are provided by [http://www.itk.org/Wiki/CTest:FAQ CTest] which is distributed together with CMake package. 61 63 62 After the build is ready, tests can be run. Natively, CMake uses target named ''test'':64 After the build is ready, tests can be executed from inside ''BUILDDIR''. Natively, CMake uses target named ''test'': 63 65 64 66 {{{ … … 81 83 == Install == 82 84 85 In order to install both C and C++ API libraries as well as headers, stay on in ''BUILDDIR'' and execue: 86 83 87 {{{ 84 88 $ make install 89 }}} 90 91 == Uninstall == 92 93 Still in ''BUILDDIR'', run: 94 95 {{{ 96 $ make uninstall 85 97 }}} 86 98