Changes between Version 39 and Version 40 of BuildingOnUnixWithCMake


Ignore:
Timestamp:
Nov 26, 2020, 4:12:37 PM (3 years ago)
Author:
mdavis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnUnixWithCMake

    v39 v40  
    3636There is collection of [http://cmake.org/cmake/help/cmake-2-8-docs.html#section_Variables CMake variables] available to control aspects of compilation and installation. They are specified on the `cmake` cmdline as `-DVAR=VALUE`.
    3737
     38  '''NOTE:''' Running `cmake` with no variables does '''NOT''' clear current variable settings. 
     39  They must be set explicitly on the cmdline or interactively using `ccmake .`.
     40  To revert to defaults the `build` directory can be cleared using `rm -rf *`
     41
    3842=== Useful CMake options ===
    3943
     
    4347=== CMake options specific to GEOS ===
    4448
    45  * GEOS_ENABLE_TESTS  - Set to OFF|ON (default) to control build of GEOS tests package
    46  * GEOS_ENABLE_INLINE - Set to OFF|ON (default) to control GEOS compilation with small functions inlining
    47  * GEOS_ENABLE_ASSERT - Set to ON|OFF (default) to build GEOS with assert() macro enabled (not available for Visual C++ compiler)
    48  * GEOS_ENABLE_MACOSX_FRAMEWORK - Set to ON|OFF (default) to build a Mac OS X framework
    49  * GEOS_ENABLE_MACOSX_FRAMEWORK_UNIXCOMPAT - Set to ON|OFF (default) to add compatibility with *nix library linking to the Mac OS X framework
    50  * -DDISABLE_OVERLAYNG=NO - Set to NO|YES (default) to enable OverlayNG use in Geometry overlay methods. (Note: as of GEOS 3.9 OverlayNG will be the default)
     49 * `GEOS_ENABLE_TESTS`  - Set to OFF|ON (default) to control build of GEOS tests package
     50 * `GEOS_ENABLE_INLINE` - Set to OFF|ON (default) to control GEOS compilation with small functions inlining
     51 * `GEOS_ENABLE_ASSERT` - Set to ON|OFF (default) to build GEOS with assert() macro enabled (not available for Visual C++ compiler)
     52 * `GEOS_ENABLE_MACOSX_FRAMEWORK` - Set to ON|OFF (default) to build a Mac OS X framework
     53 * `GEOS_ENABLE_MACOSX_FRAMEWORK_UNIXCOMPAT` - Set to ON|OFF (default) to add compatibility with *nix library linking to the Mac OS X framework
     54 * `-DDISABLE_OVERLAYNG=NO` - Set to NO|YES (default) to enable OverlayNG use in Geometry overlay methods. (Note: as of GEOS 3.9 OverlayNG is the default)
    5155
    5256Example:
     
    6165-DCMAKE_INSTALL_PREFIX=/Library/Frameworks
    6266}}}
     67
     68
     69=== View / Change Variables via GUI ===
     70
     71Use `ccmake .` to interactively confirm or change variables
    6372
    6473== Build ==