mirror of
https://github.com/reactos/CMake.git
synced 2025-01-24 04:34:26 +00:00
Merge topic 'intel-response-files'
4b1e5f0 Pass objects to Intel linker using a response file
This commit is contained in:
commit
32ebe21ad8
@ -6,6 +6,10 @@ IF(CMAKE_VERBOSE_MAKEFILE)
|
|||||||
ELSE(CMAKE_VERBOSE_MAKEFILE)
|
ELSE(CMAKE_VERBOSE_MAKEFILE)
|
||||||
SET(CMAKE_CL_NOLOGO "/nologo")
|
SET(CMAKE_CL_NOLOGO "/nologo")
|
||||||
ENDIF(CMAKE_VERBOSE_MAKEFILE)
|
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
|
# create a shared C++ library
|
||||||
SET(CMAKE_CXX_CREATE_SHARED_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}")
|
"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}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user