diff options
author | Brad King <brad.king@kitware.com> | 2008-09-04 21:34:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-09-04 21:34:25 (GMT) |
commit | 3c5cf1bb8c4e146f3d3d177f2be9dc53869f5d74 (patch) | |
tree | 6705b688a2fcfe98ffaa27afba37b77244cdbf01 /Tests/ExportImport/Export | |
parent | bf796f1434fd049ec77f7df5d4b8126b0d6ab96a (diff) | |
download | CMake-3c5cf1bb8c4e146f3d3d177f2be9dc53869f5d74.zip CMake-3c5cf1bb8c4e146f3d3d177f2be9dc53869f5d74.tar.gz CMake-3c5cf1bb8c4e146f3d3d177f2be9dc53869f5d74.tar.bz2 |
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.
Diffstat (limited to 'Tests/ExportImport/Export')
-rw-r--r-- | Tests/ExportImport/Export/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/ExportImport/Export/CMakeLists.txt b/Tests/ExportImport/Export/CMakeLists.txt index 5955307..26687b1 100644 --- a/Tests/ExportImport/Export/CMakeLists.txt +++ b/Tests/ExportImport/Export/CMakeLists.txt @@ -6,6 +6,10 @@ if(CMAKE_ANSI_CFLAGS) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}") 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) target_link_libraries(testExe1 testExe1lib) |