2001-05-21 17:31:00 +04:00
|
|
|
#
|
|
|
|
# CMakeLocal.make.in should be in the directory where you run configure
|
|
|
|
# in, which need not be the source directory
|
|
|
|
#
|
2001-11-30 18:27:24 +03:00
|
|
|
SET (CMAKE_WORDS_BIGENDIAN @CMAKE_WORDS_BIGENDIAN@)
|
2001-11-30 04:59:53 +03:00
|
|
|
|
|
|
|
SET (CMAKE_USE_SPROC @CMAKE_USE_SPROC@ CACHE BOOL
|
|
|
|
"Use sproc libs.")
|
|
|
|
|
2001-05-24 20:57:33 +04:00
|
|
|
SET (CMAKE_USE_PTHREADS @CMAKE_USE_PTHREADS@ CACHE BOOL
|
2001-11-30 04:59:53 +03:00
|
|
|
"Use the pthreads library.")
|
|
|
|
|
2001-11-30 21:53:53 +03:00
|
|
|
IF(WIN32)
|
|
|
|
SET (CMAKE_USE_WIN32_THREADS @CMAKE_USE_WIN32_THREADS@ CACHE BOOL
|
|
|
|
"Use the win32 thread library.")
|
|
|
|
ENDIF(WIN32)
|
2001-11-30 04:59:53 +03:00
|
|
|
|
2001-05-24 20:57:33 +04:00
|
|
|
SET (CMAKE_HP_PTHREADS @CMAKE_HP_PTHREADS@ CACHE BOOL
|
2001-11-30 04:59:53 +03:00
|
|
|
"Use HP pthreads.")
|
|
|
|
|
2001-05-24 20:57:33 +04:00
|
|
|
SET (CMAKE_LIB_EXT @CMAKE_LIB_EXT@ CACHE STRING
|
2001-11-30 04:59:53 +03:00
|
|
|
"Library extension used by this machine.")
|
|
|
|
|
2001-05-24 20:57:33 +04:00
|
|
|
SET (CMAKE_RANLIB "@RANLIB@" CACHE FILEPATH
|
2001-11-30 04:59:53 +03:00
|
|
|
"Library randomizer program used on archive libraries.")
|
|
|
|
|
2001-05-24 20:57:33 +04:00
|
|
|
SET (CMAKE_AR "@CMAKE_AR@" CACHE FILEPATH
|
2001-11-30 04:59:53 +03:00
|
|
|
"Archive program used to make archive libraries.")
|
|
|
|
|
2001-06-29 17:30:01 +04:00
|
|
|
SET (CMAKE_AR_ARGS "@CMAKE_AR_ARGS@" CACHE STRING
|
2001-11-30 04:59:53 +03:00
|
|
|
"Arguments for CMAKE_AR program to create an archive library.")
|
|
|
|
|
|
|
|
SET (CMAKE_CXX_COMPILER "@CXX@" CACHE FILEPATH
|
|
|
|
"Name of C++ compiler used.")
|
|
|
|
|
2001-05-24 20:57:33 +04:00
|
|
|
SET (CMAKE_CXX_FLAGS "@CXXFLAGS@" CACHE STRING
|
2001-11-30 04:59:53 +03:00
|
|
|
"Flags used by CXX compiler.")
|
|
|
|
|
2001-05-25 01:51:57 +04:00
|
|
|
SET (CMAKE_TEMPLATE_FLAGS "@CMAKE_TEMPLATE_FLAGS@" CACHE STRING
|
2001-11-30 04:59:53 +03:00
|
|
|
"CXX template flags used by compiler.")
|
|
|
|
|
2001-05-24 20:57:33 +04:00
|
|
|
SET (CMAKE_C_COMPILER "@CC@" CACHE FILEPATH
|
2001-11-30 04:59:53 +03:00
|
|
|
"Name of C compiler used.")
|
|
|
|
|
|
|
|
SET (CMAKE_C_FLAGS "@CFLAGS@" CACHE STRING
|
|
|
|
"Flags for C compiler.")
|
2001-11-27 02:28:27 +03:00
|
|
|
|
2001-05-24 20:57:33 +04:00
|
|
|
SET (CMAKE_SHLIB_CFLAGS "@CMAKE_SHLIB_CFLAGS@" CACHE STRING
|
2001-11-30 04:59:53 +03:00
|
|
|
"Flag used for building shared library objects.")
|
|
|
|
|
2001-05-24 20:57:33 +04:00
|
|
|
SET (CMAKE_SHLIB_BUILD_FLAGS "@CMAKE_SHLIB_BUILD_FLAGS@" CACHE STRING
|
2001-11-30 04:59:53 +03:00
|
|
|
"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.")
|
|
|
|
|
2001-05-24 20:57:33 +04:00
|
|
|
SET (CMAKE_SHLIB_SUFFIX @CMAKE_SHLIB_SUFFIX@ CACHE STRING
|
2001-11-30 04:59:53 +03:00
|
|
|
"Shared library suffix.")
|
|
|
|
|
|
|
|
SET (CMAKE_MODULE_SUFFIX @CMAKE_MODULE_SUFFIX@ CACHE STRING
|
|
|
|
"Module library suffix.")
|
|
|
|
|
2001-05-24 20:57:33 +04:00
|
|
|
SET (CMAKE_THREAD_LIBS "@CMAKE_THREAD_LIBS@" CACHE STRING
|
2001-11-30 04:59:53 +03:00
|
|
|
"Thread library used.")
|
|
|
|
|
2001-05-24 20:57:33 +04:00
|
|
|
SET (CMAKE_DL_LIBS "@CMAKE_DL_LIBS@" CACHE STRING
|
2001-11-30 04:59:53 +03:00
|
|
|
"Dynamic link library to link in.")
|
|
|
|
|
2001-05-24 20:57:33 +04:00
|
|
|
SET (CMAKE_SHLIB_LINK_FLAGS "@CMAKE_SHLIB_LINK_FLAGS@" CACHE STRING
|
2001-11-30 04:59:53 +03:00
|
|
|
"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.")
|
|
|
|
|
2001-05-24 20:57:33 +04:00
|
|
|
SET (CMAKE_SHLIB_LD_LIBS "@CMAKE_SHLIB_LD_LIBS@" CACHE STRING
|
2001-11-30 04:59:53 +03:00
|
|
|
"Libraries used by LD for shared libraries.")
|
|
|
|
|
2001-06-08 08:18:54 +04:00
|
|
|
SET (CMAKE_SHLIB_RUNTIME_FLAG "@CMAKE_SHLIB_RUNTIME_FLAG@" CACHE STRING
|
2001-11-30 04:59:53 +03:00
|
|
|
"Flag used to specify run-time search paths.")
|
|
|
|
|
2001-06-08 08:18:54 +04:00
|
|
|
SET (CMAKE_SHLIB_RUNTIME_SEP "@CMAKE_SHLIB_RUNTIME_SEP@" CACHE STRING
|
2001-11-30 04:59:53 +03:00
|
|
|
"If null, each runtime path is a separate option. Otherwise, they are all joined, separated by this.")
|
|
|
|
|
2001-12-21 08:01:02 +03:00
|
|
|
SET (CMAKE_SKIP_RPATH "NO" CACHE BOOL
|
|
|
|
"If set, runtime paths are not added when using shared libraries.")
|
|
|
|
|
2001-05-21 17:31:00 +04:00
|
|
|
# support for X11
|
2001-11-30 04:59:53 +03:00
|
|
|
|
|
|
|
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
|
2001-11-30 07:24:37 +03:00
|
|
|
"Is X11 around.")
|
2001-11-30 04:59:53 +03:00
|
|
|
|
|
|
|
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.")
|
|
|
|
|
2002-01-07 22:07:32 +03:00
|
|
|
SET (CMAKE_SIZEOF_INT @CMAKE_SIZEOF_INT@ CACHE INTERNAL "Size of int data type")
|
|
|
|
SET (CMAKE_SIZEOF_LONG @CMAKE_SIZEOF_LONG@ CACHE INTERNAL "Size of long data type")
|
|
|
|
SET (CMAKE_SIZEOF_VOID_P @CMAKE_SIZEOF_VOID_P@ CACHE INTERNAL "Size of void* data type")
|
|
|
|
SET (CMAKE_SIZEOF_CHAR @CMAKE_SIZEOF_CHAR@ CACHE INTERNAL "Size of char data type")
|
|
|
|
SET (CMAKE_SIZEOF_SHORT @CMAKE_SIZEOF_SHORT@ CACHE INTERNAL "Size of short data type")
|
|
|
|
SET (CMAKE_SIZEOF_FLOAT @CMAKE_SIZEOF_FLOAT@ CACHE INTERNAL "Size of float data type")
|
|
|
|
SET (CMAKE_SIZEOF_DOUBLE @CMAKE_SIZEOF_DOUBLE@ CACHE INTERNAL "Size of double data type")
|
|
|
|
|
2001-11-16 01:11:26 +03:00
|
|
|
FIND_PROGRAM(CMAKE_MAKE_PROGRAM NAMES gmake make )
|
2001-10-27 01:06:46 +04:00
|
|
|
|
2001-11-30 04:59:53 +03:00
|
|
|
# The following variables are advanced
|
|
|
|
|
2001-11-27 02:28:27 +03:00
|
|
|
MARK_AS_ADVANCED(
|
|
|
|
CMAKE_X_LIBS
|
|
|
|
CMAKE_USE_WIN32_THREADS
|
|
|
|
CMAKE_USE_SPROC
|
|
|
|
CMAKE_USE_PTHREADS
|
2001-11-30 04:59:53 +03:00
|
|
|
CMAKE_OBJECT_FIL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