[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.14 1.15

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Sep 4 17:34:27 EDT 2008


Update of /cvsroot/CMake/CMake/Tests/ExportImport/Export
In directory public:/mounts/ram/cvs-serv7843/Tests/ExportImport/Export

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: Allow a custom list of debug configurations

Create a DEBUG_CONFIGURATIONS global property as a way for projects to
specify which configuration names are considered to be 'debug'
configurations.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/ExportImport/Export/CMakeLists.txt,v
retrieving revision 1.14
retrieving revision 1.15
diff -C 2 -d -r1.14 -r1.15
*** CMakeLists.txt	18 Aug 2008 14:11:29 -0000	1.14
--- CMakeLists.txt	4 Sep 2008 21:34:25 -0000	1.15
***************
*** 7,10 ****
--- 7,14 ----
  endif(CMAKE_ANSI_CFLAGS)
  
+ # Pretend that RelWithDebInfo should link to debug libraries to test
+ # the DEBUG_CONFIGURATIONS property.
+ set_property(GLOBAL PROPERTY DEBUG_CONFIGURATIONS Debug RelWithDebInfo)
+ 
  add_library(testExe1lib STATIC testExe1lib.c) # not exported
  add_executable(testExe1 testExe1.c)



More information about the Cmake-commits mailing list