2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_COMPILER "@CMAKE_CXX_COMPILER@")
|
|
|
|
set(CMAKE_CXX_COMPILER_ARG1 "@CMAKE_CXX_COMPILER_ARG1@")
|
|
|
|
set(CMAKE_CXX_COMPILER_ID "@CMAKE_CXX_COMPILER_ID@")
|
|
|
|
set(CMAKE_CXX_COMPILER_VERSION "@CMAKE_CXX_COMPILER_VERSION@")
|
2013-10-17 13:47:29 +04:00
|
|
|
set(CMAKE_CXX_COMPILE_FEATURES "@CMAKE_CXX_COMPILE_FEATURES@")
|
|
|
|
set(CMAKE_CXX11_COMPILE_FEATURES "@CMAKE_CXX11_COMPILE_FEATURES@")
|
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_PLATFORM_ID "@CMAKE_CXX_PLATFORM_ID@")
|
2013-10-04 18:10:22 +04:00
|
|
|
set(CMAKE_CXX_SIMULATE_ID "@CMAKE_CXX_SIMULATE_ID@")
|
|
|
|
set(CMAKE_CXX_SIMULATE_VERSION "@CMAKE_CXX_SIMULATE_VERSION@")
|
2009-11-20 05:58:42 +03:00
|
|
|
@SET_MSVC_CXX_ARCHITECTURE_ID@
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_AR "@CMAKE_AR@")
|
|
|
|
set(CMAKE_RANLIB "@CMAKE_RANLIB@")
|
|
|
|
set(CMAKE_LINKER "@CMAKE_LINKER@")
|
|
|
|
set(CMAKE_COMPILER_IS_GNUCXX @CMAKE_COMPILER_IS_GNUCXX@)
|
|
|
|
set(CMAKE_CXX_COMPILER_LOADED 1)
|
2012-08-24 17:10:34 +04:00
|
|
|
set(CMAKE_CXX_COMPILER_WORKS @CMAKE_CXX_COMPILER_WORKS@)
|
2012-08-24 23:15:14 +04:00
|
|
|
set(CMAKE_CXX_ABI_COMPILED @CMAKE_CXX_ABI_COMPILED@)
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_COMPILER_IS_MINGW @CMAKE_COMPILER_IS_MINGW@)
|
|
|
|
set(CMAKE_COMPILER_IS_CYGWIN @CMAKE_COMPILER_IS_CYGWIN@)
|
|
|
|
if(CMAKE_COMPILER_IS_CYGWIN)
|
|
|
|
set(CYGWIN 1)
|
|
|
|
set(UNIX 1)
|
2012-08-13 21:50:14 +04:00
|
|
|
endif()
|
2012-08-13 21:47:32 +04:00
|
|
|
|
|
|
|
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
|
|
|
|
|
|
|
if(CMAKE_COMPILER_IS_MINGW)
|
|
|
|
set(MINGW 1)
|
2012-08-13 21:50:14 +04:00
|
|
|
endif()
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
|
|
|
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
2014-03-19 20:31:01 +04:00
|
|
|
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
|
|
|
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
ENH: merge CMake-CrossCompileBasic to HEAD
-add a RESULT_VARIABLE to INCLUDE()
-add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain
-have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system)
-use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to
run the executables if they have a different suffix because they are
probably crosscompiled, but nevertheless it should be able to find them
-make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE
-support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.)
-move ranlib on OSX from the file command to a command in executed in cmake_install.cmake
-add support for stripping during install in cmake_install.cmake
-split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools
-remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms
-create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these
-add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a
list of directories which will be prepended to all search directories, right
now as a cmake variable, turning it into a global cmake property may need
some more work
-remove cmTestTestHandler::TryExecutable(), it's unused
-split cmFileCommand::HandleInstall() into slightly smaller functions
Alex
2007-05-17 21:20:44 +04:00
|
|
|
|
2008-01-22 02:30:17 +03:00
|
|
|
# Save compiler ABI information.
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_SIZEOF_DATA_PTR "@CMAKE_CXX_SIZEOF_DATA_PTR@")
|
|
|
|
set(CMAKE_CXX_COMPILER_ABI "@CMAKE_CXX_COMPILER_ABI@")
|
|
|
|
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "@CMAKE_CXX_LIBRARY_ARCHITECTURE@")
|
2008-01-22 02:30:17 +03:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
|
|
|
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
2012-08-13 21:50:14 +04:00
|
|
|
endif()
|
2008-01-22 02:30:17 +03:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
if(CMAKE_CXX_COMPILER_ABI)
|
|
|
|
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
2012-08-13 21:50:14 +04:00
|
|
|
endif()
|
2009-07-23 18:07:25 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
|
|
|
set(CMAKE_LIBRARY_ARCHITECTURE "@CMAKE_CXX_LIBRARY_ARCHITECTURE@")
|
|
|
|
endif()
|
2011-06-08 16:46:31 +04:00
|
|
|
|
2012-09-21 16:53:42 +04:00
|
|
|
@CMAKE_CXX_SYSROOT_FLAG_CODE@
|
2010-01-29 19:56:35 +03:00
|
|
|
@CMAKE_CXX_OSX_DEPLOYMENT_TARGET_FLAG_CODE@
|
2009-09-19 18:14:31 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "@CMAKE_CXX_IMPLICIT_LINK_LIBRARIES@")
|
|
|
|
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "@CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES@")
|
2012-12-05 22:46:04 +04:00
|
|
|
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "@CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES@")
|
2012-06-09 00:01:57 +04:00
|
|
|
|
2012-06-09 13:36:53 +04:00
|
|
|
@SET_CMAKE_CMCLDEPS_EXECUTABLE@
|
2013-10-18 14:59:47 +04:00
|
|
|
@SET_CMAKE_CL_SHOWINCLUDES_PREFIX@
|