diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-04-02 20:43:23 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-04-02 20:43:23 (GMT) |
commit | 4ea0f6b9494f2b4a4a5a238f8ad51ee6fbbcfe0a (patch) | |
tree | b73c04c8bce53edbdf39e3e98ae6e2a361f47bef /Templates/CXXCMakeSystemConfig.cmake.in | |
parent | 81ebecaea17cc18dfdda4fc3051eba08f6f076a0 (diff) | |
download | CMake-4ea0f6b9494f2b4a4a5a238f8ad51ee6fbbcfe0a.zip CMake-4ea0f6b9494f2b4a4a5a238f8ad51ee6fbbcfe0a.tar.gz CMake-4ea0f6b9494f2b4a4a5a238f8ad51ee6fbbcfe0a.tar.bz2 |
ENH: add enable language support for PROJECT command, this means that a C only project can be built with cmake, even without a cxx compiler
Diffstat (limited to 'Templates/CXXCMakeSystemConfig.cmake.in')
-rw-r--r-- | Templates/CXXCMakeSystemConfig.cmake.in | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Templates/CXXCMakeSystemConfig.cmake.in b/Templates/CXXCMakeSystemConfig.cmake.in new file mode 100644 index 0000000..2c8056d --- /dev/null +++ b/Templates/CXXCMakeSystemConfig.cmake.in @@ -0,0 +1,51 @@ +# +# CMakeLocal.make.in should be in the directory where you run configure +# in, which need not be the source directory +# +SET (CMAKE_AR "@CMAKE_AR@" CACHE FILEPATH + "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 + "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_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_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_CXX_COMPILER +CMAKE_AR +CMAKE_AR_ARGS +CMAKE_TEMPLATE_FLAGS +CMAKE_NO_ANSI_STREAM_HEADERS +CMAKE_NO_ANSI_FOR_SCOPE +CMAKE_NO_STD_NAMESPACE +CMAKE_COMPILER_IS_GNUCXX +CMAKE_ANSI_CXXFLAGS +CMAKE_NO_EXPLICIT_TEMPLATE_INSTANTIATION +) |