diff options
author | Peter Kuemmel <syntheticpp@gmx.net> | 2012-08-14 13:48:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-09-19 15:40:47 (GMT) |
commit | 5598d9b2a06d4ec788b5e058435bb3bba99fd517 (patch) | |
tree | 6c832f3b905776fbce364bd243a24fcd655a0114 /Modules/Platform/Windows-Intel.cmake | |
parent | 047749bfe8ff32158f1447ebd2e3a2eee64ad339 (diff) | |
download | CMake-5598d9b2a06d4ec788b5e058435bb3bba99fd517.zip CMake-5598d9b2a06d4ec788b5e058435bb3bba99fd517.tar.gz CMake-5598d9b2a06d4ec788b5e058435bb3bba99fd517.tar.bz2 |
Ninja: don't expand any rsp files
Diffstat (limited to 'Modules/Platform/Windows-Intel.cmake')
-rw-r--r-- | Modules/Platform/Windows-Intel.cmake | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Modules/Platform/Windows-Intel.cmake b/Modules/Platform/Windows-Intel.cmake index 3a30a2e..41e150a 100644 --- a/Modules/Platform/Windows-Intel.cmake +++ b/Modules/Platform/Windows-Intel.cmake @@ -98,11 +98,14 @@ macro(__windows_compiler_intel lang) set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "/DNDEBUG /MD /Zi /O2") if(_INTEL_COMPILER_SUPPORTS_MANIFEST) + if(CMAKE_GENERATOR MATCHES "Ninja") + set(NO_RSP_EXPAND _no_rsp_expand) + endif() set(CMAKE_${lang}_LINK_EXECUTABLE - "<CMAKE_COMMAND> -E vs_link_exe ${CMAKE_${lang}_LINK_EXECUTABLE}") + "<CMAKE_COMMAND> -E vs_link_exe${NO_RSP_EXPAND} ${CMAKE_${lang}_LINK_EXECUTABLE}") set(CMAKE_${lang}_CREATE_SHARED_LIBRARY - "<CMAKE_COMMAND> -E vs_link_dll ${CMAKE_${lang}_CREATE_SHARED_LIBRARY}") + "<CMAKE_COMMAND> -E vs_link_dll${NO_RSP_EXPAND} ${CMAKE_${lang}_CREATE_SHARED_LIBRARY}") set(CMAKE_${lang}_CREATE_SHARED_MODULE - "<CMAKE_COMMAND> -E vs_link_dll ${CMAKE_${lang}_CREATE_SHARED_MODULE}") + "<CMAKE_COMMAND> -E vs_link_dll${NO_RSP_EXPAND} ${CMAKE_${lang}_CREATE_SHARED_MODULE}") endif() endmacro() |