2002-10-25 16:13:03 -04:00
|
|
|
SET(CMAKE_CXX_COMPILER "@CMAKE_CXX_COMPILER@")
|
2006-01-25 11:41:05 -05:00
|
|
|
SET(CMAKE_CXX_COMPILER_ARG1 "@CMAKE_CXX_COMPILER_ARG1@")
|
2007-04-28 09:35:01 -04:00
|
|
|
SET(CMAKE_CXX_COMPILER_ID "@CMAKE_CXX_COMPILER_ID@")
|
|
|
|
SET(CMAKE_CXX_PLATFORM_ID "@CMAKE_CXX_PLATFORM_ID@")
|
2009-11-19 21:58:42 -05:00
|
|
|
@SET_MSVC_CXX_ARCHITECTURE_ID@
|
2006-02-09 13:48:09 -05:00
|
|
|
SET(CMAKE_AR "@CMAKE_AR@")
|
|
|
|
SET(CMAKE_RANLIB "@CMAKE_RANLIB@")
|
2010-01-22 12:41:55 -05:00
|
|
|
SET(CMAKE_LINKER "@CMAKE_LINKER@")
|
2002-11-08 15:46:08 -05:00
|
|
|
SET(CMAKE_COMPILER_IS_GNUCXX @CMAKE_COMPILER_IS_GNUCXX@)
|
2002-11-11 12:31:46 -05:00
|
|
|
SET(CMAKE_CXX_COMPILER_LOADED 1)
|
2006-02-09 13:48:09 -05: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)
|
|
|
|
ENDIF(CMAKE_COMPILER_IS_CYGWIN)
|
|
|
|
|
|
|
|
SET(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
2005-01-17 15:20:41 -05:00
|
|
|
|
2006-02-09 13:48:09 -05:00
|
|
|
IF(CMAKE_COMPILER_IS_MINGW)
|
|
|
|
SET(MINGW 1)
|
|
|
|
ENDIF(CMAKE_COMPILER_IS_MINGW)
|
2007-04-28 09:35:01 -04:00
|
|
|
SET(CMAKE_CXX_COMPILER_ID_RUN 1)
|
2010-09-02 11:56:40 -04:00
|
|
|
SET(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
2010-09-02 18:02:57 -04:00
|
|
|
SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
|
2007-07-12 08:37:10 -04:00
|
|
|
SET(CMAKE_CXX_LINKER_PREFERENCE 30)
|
2009-07-30 10:59:37 -04:00
|
|
|
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 13:20:44 -04:00
|
|
|
|
2008-01-21 18:30:17 -05:00
|
|
|
# Save compiler ABI information.
|
|
|
|
SET(CMAKE_CXX_SIZEOF_DATA_PTR "@CMAKE_CXX_SIZEOF_DATA_PTR@")
|
|
|
|
SET(CMAKE_CXX_COMPILER_ABI "@CMAKE_CXX_COMPILER_ABI@")
|
|
|
|
|
|
|
|
IF(CMAKE_CXX_SIZEOF_DATA_PTR)
|
|
|
|
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
|
|
|
ENDIF(CMAKE_CXX_SIZEOF_DATA_PTR)
|
|
|
|
|
|
|
|
IF(CMAKE_CXX_COMPILER_ABI)
|
|
|
|
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
|
|
|
ENDIF(CMAKE_CXX_COMPILER_ABI)
|
2009-07-23 10:07:25 -04:00
|
|
|
|
2009-09-19 10:14:31 -04:00
|
|
|
SET(CMAKE_CXX_HAS_ISYSROOT "@CMAKE_CXX_HAS_ISYSROOT@")
|
2010-01-29 11:56:35 -05:00
|
|
|
@CMAKE_CXX_OSX_DEPLOYMENT_TARGET_FLAG_CODE@
|
2009-09-19 10:14:31 -04:00
|
|
|
|
2009-07-23 10:07:25 -04:00
|
|
|
SET(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "@CMAKE_CXX_IMPLICIT_LINK_LIBRARIES@")
|
|
|
|
SET(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "@CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES@")
|