Changes between Version 16 and Version 17 of BuildingOnUnixWithCMake


Ignore:
Timestamp:
May 28, 2011, 9:05:45 AM (13 years ago)
Author:
kyngchaos
Comment:

add OS X framework info

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnUnixWithCMake

    v16 v17  
    4343 * GEOS_ENABLE_INLINE - Set to OFF|ON (default) to control GEOS compilation with small functions inlining
    4444 * 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
    4547
    4648Example:
     
    4850{{{
    4951$ cmake ../trunk -DGEOS_ENABLE_TESTS=ON -DGEOS_ENABLE_INLINE=OFF
     52}}}
     53
     54Note: 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
    5058}}}
    5159
     
    8391== Install ==
    8492
    85 In order to install both C and C++ API libraries as well as headers, stay on in ''BUILDDIR'' and execue:
     93In order to install both C and C++ API libraries as well as headers, stay on in ''BUILDDIR'' and execute:
    8694
    8795{{{