diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-06-11 19:31:42 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-06-11 19:31:42 (GMT) |
commit | 422dc631b62edd22be89dfd665ecaede39c4e283 (patch) | |
tree | 078369e37d271cb224272895f914de230839116f /Modules/CMakeDetermineCCompiler.cmake | |
parent | 1a71290836bc3f962e66d9b9c55281e0fd118b8b (diff) | |
download | CMake-422dc631b62edd22be89dfd665ecaede39c4e283.zip CMake-422dc631b62edd22be89dfd665ecaede39c4e283.tar.gz CMake-422dc631b62edd22be89dfd665ecaede39c4e283.tar.bz2 |
ENH: split cmGlobalGenerator::SetLanguageEnabled() in two parts, where the
second part copies the values from the cmake variables into internal maps.
So this can now be done after the compiler-specific information has been
loaded, which can now overwrite more settings.
Alex
Diffstat (limited to 'Modules/CMakeDetermineCCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineCCompiler.cmake | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake index 9e68b80..720853b 100644 --- a/Modules/CMakeDetermineCCompiler.cmake +++ b/Modules/CMakeDetermineCCompiler.cmake @@ -105,17 +105,6 @@ IF (NOT _CMAKE_TOOLCHAIN_SUFFIX) ENDIF (COMPILER_BASENAME MATCHES "^cl(.+)\\.exe$") ENDIF (NOT _CMAKE_TOOLCHAIN_SUFFIX) -# some exotic compilers have different extensions (e.g. sdcc uses .rel) -# so don't overwrite it if it has been already defined by the user -IF(NOT CMAKE_C_OUTPUT_EXTENSION) - IF(UNIX) - SET(CMAKE_C_OUTPUT_EXTENSION .o) - ELSE(UNIX) - SET(CMAKE_C_OUTPUT_EXTENSION .obj) - ENDIF(UNIX) -ENDIF(NOT CMAKE_C_OUTPUT_EXTENSION) - - # Build a small source file to identify the compiler. IF(${CMAKE_GENERATOR} MATCHES "Visual Studio") SET(CMAKE_C_COMPILER_ID_RUN 1) |