[Cmake-commits] [cmake-commits] king committed Windows-bcc32.cmake 1.46 1.47

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Aug 12 09:09:46 EDT 2009


Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv18331/Modules/Platform

Modified Files:
	Windows-bcc32.cmake 
Log Message:
Quote the target name for Borland tlib tool

The Borland librarian tool "tlib" requires that the output target name
be quoted if it contains the character '-' (and perhaps a few others).
This commit restores the use of the TARGET_QUOTED rule variable
replacement for this purpose.  Otherwise no static library can have a
'-' in its name.

This problem was exposed by the 'Testing' test when it builds the
pcStatic library with the '-dbg' suffix.


Index: Windows-bcc32.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/Windows-bcc32.cmake,v
retrieving revision 1.46
retrieving revision 1.47
diff -C 2 -d -r1.46 -r1.47
*** Windows-bcc32.cmake	27 Feb 2008 19:31:09 -0000	1.46
--- Windows-bcc32.cmake	12 Aug 2009 13:09:41 -0000	1.47
***************
*** 58,62 ****
  
  # create a C++ static library
! SET(CMAKE_CXX_CREATE_STATIC_LIBRARY  "tlib ${CMAKE_START_TEMP_FILE}/p512 <LINK_FLAGS> /a <TARGET> <OBJECTS>${CMAKE_END_TEMP_FILE}")
  
  # create a C static library
--- 58,62 ----
  
  # create a C++ static library
! SET(CMAKE_CXX_CREATE_STATIC_LIBRARY  "tlib ${CMAKE_START_TEMP_FILE}/p512 <LINK_FLAGS> /a <TARGET_QUOTED> <OBJECTS>${CMAKE_END_TEMP_FILE}")
  
  # create a C static library



More information about the Cmake-commits mailing list