diff options
author | Alexander Neundorf <neundorf@kde.org> | 2009-09-19 08:33:10 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2009-09-19 08:33:10 (GMT) |
commit | 196d9a54aa7083c2d063147ac431c7efd11f393d (patch) | |
tree | 86cb0b0439747fc2df17cde6ac2b20f4a329ac06 | |
parent | 5ea5ca3c88877bac0c2222141ca4d36fb322ee77 (diff) | |
download | CMake-196d9a54aa7083c2d063147ac431c7efd11f393d.zip CMake-196d9a54aa7083c2d063147ac431c7efd11f393d.tar.gz CMake-196d9a54aa7083c2d063147ac431c7efd11f393d.tar.bz2 |
The preprocessing and assembly rules also need the <DEFINES>, otherwise different reults are created.
Alex
-rw-r--r-- | Modules/Compiler/Intel-C.cmake | 4 | ||||
-rw-r--r-- | Modules/Compiler/Intel-CXX.cmake | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Modules/Compiler/Intel-C.cmake b/Modules/Compiler/Intel-C.cmake index 8f8aaaa..4be91d0 100644 --- a/Modules/Compiler/Intel-C.cmake +++ b/Modules/Compiler/Intel-C.cmake @@ -6,5 +6,5 @@ SET(CMAKE_C_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG") SET(CMAKE_C_FLAGS_RELEASE_INIT "-O3 -DNDEBUG") SET(CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-O2 -g") -SET(CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>") -SET(CMAKE_C_CREATE_ASSEMBLY_SOURCE "<CMAKE_C_COMPILER> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>") +SET(CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>") +SET(CMAKE_C_CREATE_ASSEMBLY_SOURCE "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>") diff --git a/Modules/Compiler/Intel-CXX.cmake b/Modules/Compiler/Intel-CXX.cmake index 56950f0..ff01a81 100644 --- a/Modules/Compiler/Intel-CXX.cmake +++ b/Modules/Compiler/Intel-CXX.cmake @@ -6,5 +6,5 @@ SET(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG") SET(CMAKE_CXX_FLAGS_RELEASE_INIT "-O3 -DNDEBUG") SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -g") -SET(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>") -SET(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE "<CMAKE_CXX_COMPILER> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>") +SET(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>") +SET(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>") |