summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-08-17 19:09:12 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-08-17 19:09:12 (GMT)
commit32ebe21ad8eb22130869c211361edc0781f342a0 (patch)
tree9edf6eea78c0ae20760d46b98fd994a428a5c300
parentf4ce315301d3c09b3c8476d9bd6dcf1b38066ddb (diff)
parent4b1e5f0152ed681309f831202abd84705d9487e9 (diff)
downloadCMake-32ebe21ad8eb22130869c211361edc0781f342a0.zip
CMake-32ebe21ad8eb22130869c211361edc0781f342a0.tar.gz
CMake-32ebe21ad8eb22130869c211361edc0781f342a0.tar.bz2
Merge topic 'intel-response-files'
4b1e5f0 Pass objects to Intel linker using a response file
-rw-r--r--Modules/Platform/Windows-icl.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-icl.cmake b/Modules/Platform/Windows-icl.cmake
index c717c7c..9088cc7 100644
--- a/Modules/Platform/Windows-icl.cmake
+++ b/Modules/Platform/Windows-icl.cmake
@@ -6,6 +6,10 @@ IF(CMAKE_VERBOSE_MAKEFILE)
ELSE(CMAKE_VERBOSE_MAKEFILE)
SET(CMAKE_CL_NOLOGO "/nologo")
ENDIF(CMAKE_VERBOSE_MAKEFILE)
+
+SET(CMAKE_C_USE_RESPONSE_FILE_FOR_OBJECTS 1)
+SET(CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS 1)
+
# create a shared C++ library
SET(CMAKE_CXX_CREATE_SHARED_LIBRARY
"xilink ${CMAKE_CL_NOLOGO} ${CMAKE_START_TEMP_FILE} /out:<TARGET> /implib:<TARGET_IMPLIB> /pdb:<TARGET_PDB> /dll <LINK_FLAGS> <OBJECTS> <LINK_LIBRARIES> ${CMAKE_END_TEMP_FILE}")