diff options
Diffstat (limited to 'Templates/CMakeSystemConfig.cmake.in')
-rw-r--r-- | Templates/CMakeSystemConfig.cmake.in | 150 |
1 files changed, 107 insertions, 43 deletions
diff --git a/Templates/CMakeSystemConfig.cmake.in b/Templates/CMakeSystemConfig.cmake.in index 737374c..b9835de 100644 --- a/Templates/CMakeSystemConfig.cmake.in +++ b/Templates/CMakeSystemConfig.cmake.in @@ -2,76 +2,140 @@ # CMakeLocal.make.in should be in the directory where you run configure # in, which need not be the source directory # -SET (CMAKE_INSTALL_PREFIX @prefix@ CACHE PATH - "Install path prefix, prepended onto install directories") -SET (CMAKE_WORDS_BIGENDIAN @CMAKE_WORDS_BIGENDIAN@ ) -SET (CMAKE_USE_SPROC @CMAKE_USE_SPROC@ CACHE BOOL "Use sproc libs.") +SET (CMAKE_WORDS_BIGENDIAN @CMAKE_WORDS_BIGENDIAN@ + "Byte ordering is big-endian.") + +SET (CMAKE_USE_SPROC @CMAKE_USE_SPROC@ CACHE BOOL + "Use sproc libs.") + SET (CMAKE_USE_PTHREADS @CMAKE_USE_PTHREADS@ CACHE BOOL - "Use the pthreads library") -SET (CMAKE_USE_WIN32_THREADS @CMAKE_USE_WIN32_THREADS@ CACHE BOOL - "Use the win32 thread library") + "Use the pthreads library.") + +SET (CMAKE_USE_WIN32_THREADS @CMAKE_USE_WIN32_THREADS@ CACHE BOOL + "Use the win32 thread library.") + SET (CMAKE_HP_PTHREADS @CMAKE_HP_PTHREADS@ CACHE BOOL - "Use HP pthreads") + "Use HP pthreads.") + SET (CMAKE_LIB_EXT @CMAKE_LIB_EXT@ CACHE STRING - "Library extension used by this machine" ) + "Library extension used by this machine.") + SET (CMAKE_RANLIB "@RANLIB@" CACHE FILEPATH - " Library randomizer program used on archive libraries." ) + "Library randomizer program used on archive libraries.") + SET (CMAKE_AR "@CMAKE_AR@" CACHE FILEPATH - " Archive program used to make archive libraries." ) + "Archive program used to make archive libraries.") + SET (CMAKE_AR_ARGS "@CMAKE_AR_ARGS@" CACHE STRING - " Arguments for CMAKE_AR program to create an archive library." ) -SET (CMAKE_CXX_COMPILER "@CXX@" CACHE FILEPATH "CXX compiler used.") + "Arguments for CMAKE_AR program to create an archive library.") + +SET (CMAKE_CXX_COMPILER "@CXX@" CACHE FILEPATH + "Name of C++ compiler used.") + SET (CMAKE_CXX_FLAGS "@CXXFLAGS@" CACHE STRING - "Flags used by CXX compiler") + "Flags used by CXX compiler.") + SET (CMAKE_TEMPLATE_FLAGS "@CMAKE_TEMPLATE_FLAGS@" CACHE STRING - "CXX template flags used by compiler") + "CXX template flags used by compiler.") + SET (CMAKE_C_COMPILER "@CC@" CACHE FILEPATH - "C compiler used.") -SET (CMAKE_C_FLAGS "@CFLAGS@" CACHE STRING "C compiler flags") + "Name of C compiler used.") + +SET (CMAKE_C_FLAGS "@CFLAGS@" CACHE STRING + "Flags for C compiler.") SET (CMAKE_SHLIB_CFLAGS "@CMAKE_SHLIB_CFLAGS@" CACHE STRING - "Flag used for building shared library objects" ) + "Flag used for building shared library objects.") + SET (CMAKE_SHLIB_BUILD_FLAGS "@CMAKE_SHLIB_BUILD_FLAGS@" CACHE STRING - "Flag used by CXX to build a shared library") -SET (CMAKE_MODULE_BUILD_FLAGS "@CMAKE_MODULE_BUILD_FLAGS@" CACHE STRING - "Flag used by CXX to build a shared library") + "Flag used by CXX to build a shared library.") + +SET (CMAKE_MODULE_BUILD_FLAGS "@CMAKE_MODULE_BUILD_FLAGS@" CACHE STRING + "Flag used by CXX to build a shared library.") + +SET (CMAKE_INSTALL_PREFIX @prefix@ CACHE PATH + "Install path prefix, prepended onto install directories.") + +SET (CMAKE_OBJECT_FILE_SUFFIX @CMAKE_OBJECT_FILE_SUFFIX@ CACHE STRING + "Object file suffix.") + +SET (CMAKE_EXECUTABLE_SUFFIX @CMAKE_EXECUTABLE_SUFFIX@ CACHE STRING + "Executable suffix.") + +SET (CMAKE_STATICLIB_SUFFIX @CMAKE_STATICLIB_SUFFIX@ CACHE STRING + "Static library suffix.") + SET (CMAKE_SHLIB_SUFFIX @CMAKE_SHLIB_SUFFIX@ CACHE STRING - "Shared library suffix") -SET (CMAKE_MODULE_SUFFIX @CMAKE_MODULE_SUFFIX@ CACHE STRING - "Module library suffix") + "Shared library suffix.") + +SET (CMAKE_MODULE_SUFFIX @CMAKE_MODULE_SUFFIX@ CACHE STRING + "Module library suffix.") + SET (CMAKE_THREAD_LIBS "@CMAKE_THREAD_LIBS@" CACHE STRING - "Thread library used") + "Thread library used.") + SET (CMAKE_DL_LIBS "@CMAKE_DL_LIBS@" CACHE STRING - "Dynamic link library to link in.") + "Dynamic link library to link in.") + SET (CMAKE_SHLIB_LINK_FLAGS "@CMAKE_SHLIB_LINK_FLAGS@" CACHE STRING - "Flags used to link a shared library.") -SET (CMAKE_MODULE_LINK_FLAGS "@CMAKE_MODULE_LINK_FLAGS@" CACHE STRING - "Flags used to link a shared library.") + "Flags used to link a shared library.") + +SET (CMAKE_MODULE_LINK_FLAGS "@CMAKE_MODULE_LINK_FLAGS@" CACHE STRING + "Flags used to link a shared library.") + SET (CMAKE_SHLIB_LD_LIBS "@CMAKE_SHLIB_LD_LIBS@" CACHE STRING - "Libraries used by LD for shared libraries") + "Libraries used by LD for shared libraries.") + SET (CMAKE_SHLIB_RUNTIME_FLAG "@CMAKE_SHLIB_RUNTIME_FLAG@" CACHE STRING - "Flag used to specify run-time search paths") + "Flag used to specify run-time search paths.") + SET (CMAKE_SHLIB_RUNTIME_SEP "@CMAKE_SHLIB_RUNTIME_SEP@" CACHE STRING - "If null, each runtime path is a separate option. Otherwise, they are all joined, separated by this.") + "If null, each runtime path is a separate option. Otherwise, they are all joined, separated by this.") + # support for X11 -SET (CMAKE_X_LIBS "@X_PRE_LIBS@ @X_LIBS@ -lX11 -lXext @X_EXTRA_LIBS@" CACHE STRING "Libraries and options used in X11 programs") -SET (CMAKE_X_CFLAGS "@X_CFLAGS@" CACHE STRING "X11 extra flags") -SET (CMAKE_HAS_X @CMAKE_HAS_X@ CACHE INTERNAL "Is X11 around") -SET (CMAKE_NO_ANSI_STREAM_HEADERS @CMAKE_NO_ANSI_STREAM_HEADERS@ CACHE INTERNAL "does the compiler support headers like iostream ") -SET (CMAKE_NO_STD_NAMESPACE @CMAKE_NO_STD_NAMESPACE@ CACHE INTERNAL "does the compiler support std:: ") -SET (CMAKE_NO_ANSI_FOR_SCOPE @CMAKE_NO_ANSI_FOR_SCOPE@ CACHE INTERNAL "does the compiler support ansi for scoping.") -SET (CMAKE_COMPILER_IS_GNUCXX @CMAKE_COMPILER_IS_GNUCXX@ CACHE INTERNAL "Is the compile GNU C++") -SET (CMAKE_ANSI_CFLAGS @CMAKE_ANSI_CFLAGS@ CACHE INTERNAL "What flags are required by the c++ compiler to make it ansi.") -SET (CMAKE_ANSI_CXXFLAGS @CMAKE_ANSI_CXXFLAGS@ CACHE INTERNAL "What flags are required by the c++ compiler to make it ansi.") -SET (CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION @CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION@ CACHE INTERNAL "does the compiler not support explicit template instantiation.") + +SET (CMAKE_X_LIBS "@X_PRE_LIBS@ @X_LIBS@ -lX11 -lXext @X_EXTRA_LIBS@" CACHE STRING + "Libraries and options used in X11 programs.") + +SET (CMAKE_X_CFLAGS "@X_CFLAGS@" CACHE STRING + "X11 extra flags.") + +SET (CMAKE_HAS_X @CMAKE_HAS_X@ CACHE INTERNAL + "Is X11 around".) + +SET (CMAKE_NO_ANSI_STREAM_HEADERS @CMAKE_NO_ANSI_STREAM_HEADERS@ CACHE INTERNAL + "Does the compiler support headers like iostream.") + +SET (CMAKE_NO_STD_NAMESPACE @CMAKE_NO_STD_NAMESPACE@ CACHE INTERNAL + "Does the compiler support std::.") + +SET (CMAKE_NO_ANSI_FOR_SCOPE @CMAKE_NO_ANSI_FOR_SCOPE@ CACHE INTERNAL + "Does the compiler support ansi for scoping.") + +SET (CMAKE_COMPILER_IS_GNUCXX @CMAKE_COMPILER_IS_GNUCXX@ CACHE INTERNAL + "Is the compile GNU C++.") + +SET (CMAKE_ANSI_CFLAGS @CMAKE_ANSI_CFLAGS@ CACHE INTERNAL + "What flags are required by the c++ compiler to make it ansi.") + +SET (CMAKE_ANSI_CXXFLAGS @CMAKE_ANSI_CXXFLAGS@ CACHE INTERNAL + "What flags are required by the c++ compiler to make it ansi.") + +SET (CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION @CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION@ CACHE INTERNAL + "Does the compiler not support explicit template instantiation.") + FIND_PROGRAM(CMAKE_MAKE_PROGRAM NAMES gmake make ) -# the following variables are advanced +# The following variables are advanced + MARK_AS_ADVANCED( CMAKE_X_LIBS CMAKE_USE_WIN32_THREADS CMAKE_USE_SPROC CMAKE_USE_PTHREADS +CMAKE_OBJECT_FILE_SUFFIX +CMAKE_EXECUTABLE_SUFFIX +CMAKE_STATICLIB_SUFFIX CMAKE_SHLIB_SUFFIX CMAKE_MODULE_SUFFIX CMAKE_INSTALL_PREFIX |