Changes between Version 16 and Version 17 of BuildingOnUnixWithCMake
- Timestamp:
- May 28, 2011, 9:05:45 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingOnUnixWithCMake
v16 v17 43 43 * GEOS_ENABLE_INLINE - Set to OFF|ON (default) to control GEOS compilation with small functions inlining 44 44 * GEOS_ENABLE_ASSERT - Set to ON|OFF (default) to build GEOS with assert() macro enabled (not available for Visual C++ compiler) 45 * GEOS_ENABLE_MACOSX_FRAMEWORK - Set to ON|OFF (default) to build a Mac OS X framework 46 * GEOS_ENABLE_MACOSX_FRAMEWORK_UNIXCOMPAT - Set to ON|OFF (default) to add compatibility with *nix library linking to the Mac OS X framework 45 47 46 48 Example: … … 48 50 {{{ 49 51 $ cmake ../trunk -DGEOS_ENABLE_TESTS=ON -DGEOS_ENABLE_INLINE=OFF 52 }}} 53 54 Note: when building a Mac OS X framework, you must specify the CMAKE_INSTALL_PREFIX. The default is /usr/local, and frameworks don't go there. 55 56 {{{ 57 -DCMAKE_INSTALL_PREFIX=/Library/Frameworks 50 58 }}} 51 59 … … 83 91 == Install == 84 92 85 In order to install both C and C++ API libraries as well as headers, stay on in ''BUILDDIR'' and execu e:93 In order to install both C and C++ API libraries as well as headers, stay on in ''BUILDDIR'' and execute: 86 94 87 95 {{{