Changes between Version 32 and Version 33 of BuildingOnUnixWithCMake


Ignore:
Timestamp:
Oct 6, 2020, 1:29:31 PM (4 years ago)
Author:
mdavis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnUnixWithCMake

    v32 v33  
    2727== Configure ==
    2828
    29 It is highly recommended to build GEOS outside of the source code tree. For this purpose, prepare a build directory (from now on referred to as ''BUILDDIR''):
     29It is recommended to build GEOS outside of the source code tree. To do this, use a `build` directory beside the source directory `geos` (from now on referred to as ''BUILDDIR''):
    3030
    3131{{{
     
    4141There is collection of [http://cmake.org/cmake/help/cmake-2-8-docs.html#section_Variables CMake variables] available to set by user to control various aspects of compilation and installation. For instance ''CMAKE_INSTALL_PREFIX'' variable which by default is set to ''/usr/local'' directory.
    4242
    43 List of CMake options specific to GEOS:
     43=== List of CMake options specific to GEOS ===
    4444
    4545 * GEOS_ENABLE_TESTS  - Set to OFF|ON (default) to control build of GEOS tests package
     
    6363== Build ==
    6464
    65 In order to build GEOS C++ and C libraries, issue the command in ''BUILDDIR'':
     65To build, run `make` in ''BUILDDIR'':
    6666
    6767{{{
     
    6969}}}
    7070
     71This creates:
     72* GEOS C++ and C libraries in `lib`
     73* Testing executables in `bin`
     74
    7175== Test ==
    7276
    73 In the CMake build system, testing capabilities are provided by [http://www.itk.org/Wiki/CTest:FAQ CTest], which is distributed together with CMake.
     77Under CMake testing is performed by [http://www.itk.org/Wiki/CTest:FAQ CTest], which is distributed together with CMake.
    7478
    75 After the build is ready, tests can be executed from inside ''BUILDDIR''. Natively, CMake uses a target named ''test'':
     79After the build is ready, tests can be executed in ''BUILDDIR''. Natively, CMake uses a target named ''test'':
    7680
    7781{{{
     
    7983}}}
    8084
    81 For convenience, Autotools-like alias is also available:
     85For convenience, an Autotools-like target is available:
    8286
    8387{{{
     
    8589}}}
    8690
    87 It is also possible to run the ''ctest'' program directly, without using a ''make'' target. This option gives access to a number of ''ctest'' command line options (see ''ctest --help'' for a listing).
     91It is possible to run the ''ctest'' program directly, without using a ''make'' target. This gives access to ''ctest'' command line options (see ''ctest --help'' for a listing).
    8892
    8993{{{