Am Samstag 27 März 2010 schrieb BH: > On Mon, Mar 22, 2010 at 10:50 AM, Kornel Benko <kor...@lyx.org> wrote: > > We need someone having OSX. You already have some experience there. It is > > not soo difficult to start with cmake. Maybe you could step in here? > > > > Code specific for OSX in e.g. CMakeLists.txt would look like this: > > if(APPLE) > > if(NOT MAC_SELF_CONTAINED_BUNDLE) > > if(CMAKE_INSTALL_PREFIX STREQUAL "/opt/local") > > set(MAC_SELF_CONTAINED_BUNDLE /Applications/MacPorts CACHE > > DOCSTRING "Install directory LyX application bundle") > > else(CMAKE_INSTALL_PREFIX STREQUAL "/opt/local") > > SET(INSTALL_OSX_BUNDLE_DIR ${CMAKE_INSTALL_PREFIX}/Application > > CACHE DOCSTRING "Install directory LyX application bundle") > > endif(CMAKE_INSTALL_PREFIX STREQUAL "/opt/local") > > message("*** Will install application bundles in > > ${INSTALL_OSX_BUNDLE_DIR}, set INSTALL_OSX_BUNDLE_DIR to change the > > location") endif(NOT MAC_SELF_CONTAINED_BUNDLE) > > endif(APPLE) > > > > but of course this will be not the only chunk. > > I'm not following here. Is there some place I should look for > documentation that will help me understand this? > > BH > CMakeLists.txt-files are controlling the cmake-build-system. So, yes, there is "man cmake". Don't bother now, if you don't want to mess with cmake.
Kornel
signature.asc
Description: This is a digitally signed message part.