From 40cf734152304bd00a1c0895f4e37f0ff87ca43d Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 22 Aug 2002 17:06:05 -0400 Subject: BUG: fix for borland and a shared CMakeLib --- Tests/Complex/CMakeLists.txt | 3 +++ Tests/ComplexOneConfig/CMakeLists.txt | 3 +++ Tests/ComplexRelativePaths/CMakeLists.txt | 3 +++ 3 files changed, 9 insertions(+) diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt index d9c7568..c119f14 100644 --- a/Tests/Complex/CMakeLists.txt +++ b/Tests/Complex/CMakeLists.txt @@ -3,6 +3,9 @@ # PROJECT (Complex) +# For borland since CMakeLib is a dll all .cxx files have +# to be compiled with -tWR to get the dll version of the borland +# standard library IF(BORLAND) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR") SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR") diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt index d9c7568..c119f14 100644 --- a/Tests/ComplexOneConfig/CMakeLists.txt +++ b/Tests/ComplexOneConfig/CMakeLists.txt @@ -3,6 +3,9 @@ # PROJECT (Complex) +# For borland since CMakeLib is a dll all .cxx files have +# to be compiled with -tWR to get the dll version of the borland +# standard library IF(BORLAND) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR") SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR") diff --git a/Tests/ComplexRelativePaths/CMakeLists.txt b/Tests/ComplexRelativePaths/CMakeLists.txt index d9c7568..c119f14 100644 --- a/Tests/ComplexRelativePaths/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/CMakeLists.txt @@ -3,6 +3,9 @@ # PROJECT (Complex) +# For borland since CMakeLib is a dll all .cxx files have +# to be compiled with -tWR to get the dll version of the borland +# standard library IF(BORLAND) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR") SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR") -- cgit v0.12