summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-11-14 04:37:20 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-11-14 04:37:20 (GMT)
commita79b16a67f565387b72b01f906e120368daaf489 (patch)
tree6b97db35429fe618066c028b913767a70c86b0b1 /Modules/Platform
parentb7b32566d21aab567d9e53c72c9f705fa553059d (diff)
downloadCMake-a79b16a67f565387b72b01f906e120368daaf489.zip
CMake-a79b16a67f565387b72b01f906e120368daaf489.tar.gz
CMake-a79b16a67f565387b72b01f906e120368daaf489.tar.bz2
reorder tWR so that it does not crash with shared
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-bcc32.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-bcc32.cmake b/Modules/Platform/Windows-bcc32.cmake
index 4ccd790..21648e4 100644
--- a/Modules/Platform/Windows-bcc32.cmake
+++ b/Modules/Platform/Windows-bcc32.cmake
@@ -8,9 +8,11 @@ SET(CMAKE_END_TEMP_FILE "\n|")
#SET(CMAKE_START_TEMP_FILE "")
#SET(CMAKE_END_TEMP_FILE "")
#SET(CMAKE_VERBOSE_MAKEFILE 1)
+
+
# create a shared C++ library
SET(CMAKE_CXX_CREATE_SHARED_LIBRARY
- "<CMAKE_CXX_COMPILER> ${CMAKE_START_TEMP_FILE}-e<TARGET> -tWD -tWR <LINK_LIBRARIES> <LINK_FLAGS> <OBJECTS>${CMAKE_END_TEMP_FILE}"
+ "<CMAKE_CXX_COMPILER> ${CMAKE_START_TEMP_FILE}-e<TARGET> -tWD <LINK_FLAGS> -tWR <LINK_LIBRARIES> <OBJECTS>${CMAKE_END_TEMP_FILE}"
"implib ${CMAKE_START_TEMP_FILE}-w <TARGET_BASE>.lib <TARGET_BASE>.dll${CMAKE_END_TEMP_FILE}"
)