ApCoCoALib:Working with CMake
From ApCoCoAWiki
Revision as of 16:41, 6 August 2009 by S schuster (talk | contribs) (New page: =Setting Initial Values= # File $AC_ROOT/configuration/CMakeOptions.mac.sts set (BOOST_ROOT "/Users/shellcomputer/builds_AC2.0/local/boost_1_39_0" CACHE PATH "Boost Root") set (CM...)
Setting Initial Values
# File $AC_ROOT/configuration/CMakeOptions.mac.sts set (BOOST_ROOT "/Users/shellcomputer/builds_AC2.0/local/boost_1_39_0" CACHE PATH "Boost Root") set (CMAKE_CXX_FLAGS "-m64" CACHE STRING "Flags on Mac") set (COCOA_ROOT "/Users/shellcomputer/CoCoA-Releases/CoCoALib-0.9928" CACHE STRING "CoCoA Root") set (GMP_LIBRARY_DIR "/usr/local/lib/libgmp.a" CACHE PATH "GMP dir") set (GMP_LIBRARY "/usr/local/lib/libgmp.a" CACHE PATH "GMP dir")
in $AC_ROOT:
$> mkdir build $> cd build $> ccmake -C $AC_ROOT/configuration/CMakeOptions.mac.sts ..
or, if you want to skip configuration via curses:
$> mkdir build $> cd build $> cmake -C $AC_ROOT/configuration/CMakeOptions.mac.sts .. $> make