CMake/Templates/CXXCMakeSystemConfig.cmake.in

121 lines
5.3 KiB
CMake

#
# CMakeLocal.make.in should be in the directory where you run configure
# in, which need not be the source directory
#
SET(CMAKE_CXX_SHLIB_CFLAGS_TMP "@CMAKE_CXX_SHLIB_CFLAGS@" )
SET(CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP "@CMAKE_CXX_SHLIB_BUILD_FLAGS@")
SET(CMAKE_CXX_SHLIB_LINK_FLAGS_TMP "@CMAKE_CXX_SHLIB_LINK_FLAGS@")
SET(CMAKE_CXX_MODULE_BUILD_FLAGS_TMP "@CMAKE_CXX_MODULE_BUILD_FLAGS@")
SET(CMAKE_CXX_MODULE_LINK_FLAGS_TMP "@CMAKE_CXX_MODULE_LINK_FLAGS@")
SET(CMAKE_CXX_SHLIB_RUNTIME_FLAG_TMP "@CMAKE_CXX_SHLIB_RUNTIME_FLAG@")
SET(CMAKE_CXX_SHLIB_RUNTIME_SEP_TMP "@CMAKE_CXX_SHLIB_RUNTIME_SEP@")
# if no CXX versions of these exist, then use the c versions
IF( CMAKE_CXX_SHLIB_CFLAGS_TMP )
SET(CMAKE_CXX_SHLIB_CFLAGS "${CMAKE_CXX_SHLIB_CFLAGS_TMP}" CACHE STRING
"Flag used for building shared library objects.")
ELSE( CMAKE_CXX_SHLIB_CFLAGS_TMP )
SET(CMAKE_CXX_SHLIB_CFLAGS "${CMAKE_SHLIB_CFLAGS}" CACHE STRING
"Flag used for building shared library objects.")
ENDIF( CMAKE_CXX_SHLIB_CFLAGS_TMP )
IF( CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP )
SET(CMAKE_CXX_SHLIB_BUILD_FLAGS "${CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP}" CACHE STRING "Flag used by CXX to build a shared library.")
ELSE( CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP )
SET(CMAKE_CXX_SHLIB_BUILD_FLAGS "${CMAKE_SHLIB_BUILD_FLAGS}" CACHE STRING "Flag used by CXX to build a shared library.")
ENDIF( CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP )
IF( CMAKE_CXX_SHLIB_LINK_FLAGS_TMP )
SET(CMAKE_CXX_SHLIB_LINK_FLAGS "${CMAKE_CXX_SHLIB_LINK_FLAGS_TMP}" CACHE STRING "Flags used to link a shared library.")
ELSE( CMAKE_CXX_SHLIB_LINK_FLAGS_TMP )
SET(CMAKE_CXX_SHLIB_LINK_FLAGS "${CMAKE_SHLIB_LINK_FLAGS}" CACHE STRING
"Flags used to link a shared library.")
ENDIF( CMAKE_CXX_SHLIB_LINK_FLAGS_TMP )
IF( CMAKE_CXX_MODULE_BUILD_FLAGS_TMP )
SET(CMAKE_CXX_MODULE_BUILD_FLAGS "${CMAKE_CXX_MODULE_BUILD_FLAGS_TMP}" CACHE STRING "Flag used by CXX to build a shared library.")
ELSE( CMAKE_CXX_MODULE_BUILD_FLAGS_TMP )
SET(CMAKE_CXX_MODULE_BUILD_FLAGS "${CMAKE_MODULE_BUILD_FLAGS}" CACHE STRING "Flag used by CXX to build a shared library.")
ENDIF( CMAKE_CXX_MODULE_BUILD_FLAGS_TMP )
IF( CMAKE_CXX_MODULE_LINK_FLAGS_TMP )
SET(CMAKE_CXX_MODULE_LINK_FLAGS "${CMAKE_CXX_MODULE_LINK_FLAGS_TMP}" CACHE STRING "Flags used to link a shared library.")
ELSE( CMAKE_CXX_MODULE_LINK_FLAGS_TMP )
SET(CMAKE_CXX_MODULE_LINK_FLAGS "${CMAKE_MODULE_LINK_FLAGS}" CACHE STRING
"Flags used to link a shared library.")
ENDIF( CMAKE_CXX_MODULE_LINK_FLAGS_TMP )
IF( CMAKE_CXX_SHLIB_RUNTIME_FLAG_TMP )
SET(CMAKE_CXX_SHLIB_RUNTIME_FLAG "${CMAKE_CXX_SHLIB_RUNTIME_FLAG_TMP}" CACHE STRING "Flag used to specify run-time search paths.")
ELSE( CMAKE_CXX_SHLIB_RUNTIME_FLAG_TMP )
SET(CMAKE_CXX_SHLIB_RUNTIME_FLAG "${CMAKE_SHLIB_RUNTIME_FLAG}" CACHE STRING "Flag used to specify run-time search paths.")
ENDIF( CMAKE_CXX_SHLIB_RUNTIME_FLAG_TMP )
IF( CMAKE_CXX_SHLIB_RUNTIME_SEP_TMP )
SET(CMAKE_CXX_SHLIB_RUNTIME_SEP "${CMAKE_CXX_SHLIB_RUNTIME_SEP_TMP}" CACHE STRING "If null, each runtime path is a separate option. Otherwise, they are all joined, separated by this.")
ELSE( CMAKE_CXX_SHLIB_RUNTIME_SEP_TMP )
SET(CMAKE_CXX_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.")
ENDIF( CMAKE_CXX_SHLIB_RUNTIME_SEP_TMP )
SET(CMAKE_CXX_LINK_SHARED "@CMAKE_CXX_LINK_SHARED@" CACHE STRING
"program used to link c++ shared libraries")
SET (CMAKE_CXX_AR "@CMAKE_CXX_AR@" CACHE FILEPATH
"Archive program used to make archive libraries of c++ object files.")
SET (CMAKE_CXX_AR_ARGS "@CMAKE_CXX_AR_ARGS@" CACHE STRING
"Arguments for CMAKE_CXX_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.")
SET (CMAKE_TEMPLATE_FLAGS "@CMAKE_TEMPLATE_FLAGS@" CACHE STRING
"CXX template flags used by compiler.")
SET (CMAKE_NO_ANSI_STRING_STREAM @CMAKE_NO_ANSI_STRING_STREAM@ CACHE INTERNAL
"Does the compiler support the ansi stringstream class.")
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_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.")
# The following variables are advanced
MARK_AS_ADVANCED(
CMAKE_ANSI_CXXFLAGS
CMAKE_COMPILER_IS_GNUCXX
CMAKE_CXX_AR
CMAKE_CXX_AR_ARGS
CMAKE_CXX_COMPILER
CMAKE_CXX_FLAGS
CMAKE_CXX_LINK_SHARED
CMAKE_CXX_MODULE_BUILD_FLAGS
CMAKE_CXX_MODULE_LINK_FLAGS
CMAKE_CXX_SHLIB_BUILD_FLAGS
CMAKE_CXX_SHLIB_CFLAGS
CMAKE_CXX_SHLIB_LINK_FLAGS
CMAKE_CXX_SHLIB_RUNTIME_FLAG
CMAKE_CXX_SHLIB_RUNTIME_SEP
CMAKE_NO_ANSI_FOR_SCOPE
CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION
CMAKE_NO_STD_NAMESPACE
CMAKE_TEMPLATE_FLAGS
)