summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-05-04 15:24:32 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-05-04 15:24:32 (GMT)
commitea8dc0769d58b6e713f140416215a038655cbb5d (patch)
treefee192cf3eca9eccdf62a614d4e5c53762fa954a /Modules/Platform
parent1f6e59a7fea67b1e231309587a4db7cb5c8efcad (diff)
downloadCMake-ea8dc0769d58b6e713f140416215a038655cbb5d.zip
CMake-ea8dc0769d58b6e713f140416215a038655cbb5d.tar.gz
CMake-ea8dc0769d58b6e713f140416215a038655cbb5d.tar.bz2
ENH: Only mangle object files if CMAKE_MANGLE_OBJECT_FILE_NAMES is set. Only on borland for now.
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-bcc32.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-bcc32.cmake b/Modules/Platform/Windows-bcc32.cmake
index 65c728f..c945195 100644
--- a/Modules/Platform/Windows-bcc32.cmake
+++ b/Modules/Platform/Windows-bcc32.cmake
@@ -21,6 +21,8 @@ SET(BORLAND 1)
#SET(CMAKE_END_TEMP_FILE "")
#SET(CMAKE_VERBOSE_MAKEFILE 1)
+# Borland cannot handle + in the file name, so mangle object file name
+SET (CMAKE_MANGLE_OBJECT_FILE_NAMES "ON")
# create a shared C++ library
SET(CMAKE_CXX_CREATE_SHARED_LIBRARY