diff options
author | Brad King <brad.king@kitware.com> | 2007-04-28 13:35:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-04-28 13:35:01 (GMT) |
commit | eac71647ddab0eb52fe3ab20062519f7693ce44d (patch) | |
tree | 865fa99dea2700f89530783c6114b5ec64fc8490 /Modules/CMakeCCompiler.cmake.in | |
parent | bceb1532c665bac669f53a0f364dad920058017e (diff) | |
download | CMake-eac71647ddab0eb52fe3ab20062519f7693ce44d.zip CMake-eac71647ddab0eb52fe3ab20062519f7693ce44d.tar.gz CMake-eac71647ddab0eb52fe3ab20062519f7693ce44d.tar.bz2 |
ENH: Merging CompilerId implementation from branch CMake-Modules-CompilerId to the main tree. Changes between CMake-Modules-CompilerId-bp and CMake-Modules-CompilerId-mp1 are included.
Diffstat (limited to 'Modules/CMakeCCompiler.cmake.in')
-rw-r--r-- | Modules/CMakeCCompiler.cmake.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CMakeCCompiler.cmake.in b/Modules/CMakeCCompiler.cmake.in index bc21327..16c7d69 100644 --- a/Modules/CMakeCCompiler.cmake.in +++ b/Modules/CMakeCCompiler.cmake.in @@ -1,5 +1,7 @@ SET(CMAKE_C_COMPILER "@CMAKE_C_COMPILER@") SET(CMAKE_C_COMPILER_ARG1 "@CMAKE_C_COMPILER_ARG1@") +SET(CMAKE_C_COMPILER_ID "@CMAKE_C_COMPILER_ID@") +SET(CMAKE_C_PLATFORM_ID "@CMAKE_C_PLATFORM_ID@") SET(CMAKE_AR "@CMAKE_AR@") SET(CMAKE_RANLIB "@CMAKE_RANLIB@") SET(CMAKE_COMPILER_IS_GNUCC @CMAKE_COMPILER_IS_GNUCC@) @@ -16,7 +18,7 @@ SET(CMAKE_C_COMPILER_ENV_VAR "CC") IF(CMAKE_COMPILER_IS_MINGW) SET(MINGW 1) ENDIF(CMAKE_COMPILER_IS_MINGW) -SET(CMAKE_COMPILER_IS_GNUCC_RUN 1) +SET(CMAKE_C_COMPILER_ID_RUN 1) SET(CMAKE_C_SOURCE_FILE_EXTENSIONS c) SET(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) SET(CMAKE_C_LINKER_PREFERENCE None) |