diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-12 20:24:31 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-12 20:24:31 (GMT) |
commit | e020a6d17120513129a651d8a354f1085941b8e2 (patch) | |
tree | 4e4905fd1d23b1ee481d15893f23d4816228476b /Modules/Platform/Windows-cl.cmake | |
parent | cb426550609405a61b8f4bc0aafd2996378e11c3 (diff) | |
download | CMake-e020a6d17120513129a651d8a354f1085941b8e2.zip CMake-e020a6d17120513129a651d8a354f1085941b8e2.tar.gz CMake-e020a6d17120513129a651d8a354f1085941b8e2.tar.bz2 |
ENH: add .def file support
Diffstat (limited to 'Modules/Platform/Windows-cl.cmake')
-rw-r--r-- | Modules/Platform/Windows-cl.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/Windows-cl.cmake b/Modules/Platform/Windows-cl.cmake index 278b20f..83fa2e7 100644 --- a/Modules/Platform/Windows-cl.cmake +++ b/Modules/Platform/Windows-cl.cmake @@ -3,7 +3,7 @@ SET(CMAKE_LINK_LIBRARY_FLAG "") # create a shared C++ library SET(CMAKE_CXX_CREATE_SHARED_LIBRARY - "link @<<\n /out:<TARGET> /dll <OBJECTS> <LINK_LIBRARIES> \n<<") + "link @<<\n /out:<TARGET> /dll <LINK_FLAGS> <OBJECTS> <LINK_LIBRARIES> \n<<") SET(CMAKE_CXX_CREATE_SHARED_MODULE ${CMAKE_CXX_CREATE_SHARED_LIBRARY}) @@ -58,7 +58,7 @@ FIND_PROGRAM(CMAKE_MAKE_PROGRAM NAMES nmake ) # executable linker flags - +SET (CMAKE_LINK_DEF_FILE_FLAG "/DEF:") SET (CMAKE_EXE_LINKER_FLAGS_INIT "/nologo /STACK:10000000 /machine:I386 /INCREMENTAL:YES") SET (CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "/debug /pdbtype:sept") SET (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "/debug /pdbtype:sept") |