Browse Source

Create also plugin test debug libraries with -d suffix.

This affects only Windows when tests are enabled.
pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
ea4b226b7e
  1. 1
      src/MagnumPlugins/MagnumFont/CMakeLists.txt
  2. 1
      src/MagnumPlugins/MagnumFontConverter/CMakeLists.txt
  3. 1
      src/MagnumPlugins/ObjImporter/CMakeLists.txt
  4. 1
      src/MagnumPlugins/TgaImageConverter/CMakeLists.txt
  5. 1
      src/MagnumPlugins/TgaImporter/CMakeLists.txt
  6. 1
      src/MagnumPlugins/WavAudioImporter/CMakeLists.txt

1
src/MagnumPlugins/MagnumFont/CMakeLists.txt

@ -46,6 +46,7 @@ install(FILES ${MagnumFont_HEADERS} DESTINATION ${MAGNUM_PLUGINS_INCLUDE_INSTALL
if(BUILD_GL_TESTS)
add_library(MagnumMagnumFontTestLib STATIC $<TARGET_OBJECTS:MagnumFontObjects>)
set_target_properties(MagnumMagnumFontTestLib PROPERTIES DEBUG_POSTFIX "-d")
target_link_libraries(MagnumMagnumFontTestLib Magnum MagnumText MagnumTgaImporterTestLib)
# On Windows we need to install first and then run the tests to avoid "DLL

1
src/MagnumPlugins/MagnumFontConverter/CMakeLists.txt

@ -46,6 +46,7 @@ install(FILES ${MagnumFontConverter_HEADERS} DESTINATION ${MAGNUM_PLUGINS_INCLUD
if(BUILD_GL_TESTS)
add_library(MagnumMagnumFontConverterTestLib STATIC $<TARGET_OBJECTS:MagnumFontConverterObjects>)
set_target_properties(MagnumMagnumFontConverterTestLib PROPERTIES DEBUG_POSTFIX "-d")
target_link_libraries(MagnumMagnumFontConverterTestLib Magnum MagnumText MagnumTgaImageConverterTestLib)
# On Windows we need to install first and then run the tests to avoid "DLL

1
src/MagnumPlugins/ObjImporter/CMakeLists.txt

@ -38,6 +38,7 @@ install(FILES ObjImporter.h DESTINATION ${MAGNUM_PLUGINS_INCLUDE_INSTALL_DIR}/Ob
if(BUILD_TESTS)
add_library(MagnumObjImporterTestLib STATIC $<TARGET_OBJECTS:ObjImporterObjects>)
set_target_properties(MagnumObjImporterTestLib PROPERTIES DEBUG_POSTFIX "-d")
target_link_libraries(MagnumObjImporterTestLib Magnum MagnumMeshTools)
# On Windows we need to install first and then run the tests to avoid "DLL

1
src/MagnumPlugins/TgaImageConverter/CMakeLists.txt

@ -42,6 +42,7 @@ install(FILES ${TgaImageConverter_HEADERS} DESTINATION ${MAGNUM_PLUGINS_INCLUDE_
if(BUILD_TESTS)
add_library(MagnumTgaImageConverterTestLib ${SHARED_OR_STATIC} $<TARGET_OBJECTS:TgaImageConverterObjects>)
set_target_properties(MagnumTgaImageConverterTestLib PROPERTIES DEBUG_POSTFIX "-d")
target_link_libraries(MagnumTgaImageConverterTestLib Magnum)
# On Windows we need to install first and then run the tests to avoid "DLL

1
src/MagnumPlugins/TgaImporter/CMakeLists.txt

@ -43,6 +43,7 @@ install(FILES ${TgaImporter_HEADERS} DESTINATION ${MAGNUM_PLUGINS_INCLUDE_INSTAL
if(BUILD_TESTS)
add_library(MagnumTgaImporterTestLib ${SHARED_OR_STATIC} $<TARGET_OBJECTS:TgaImporterObjects>)
set_target_properties(MagnumTgaImporterTestLib PROPERTIES DEBUG_POSTFIX "-d")
target_link_libraries(MagnumTgaImporterTestLib Magnum)
# On Windows we need to install first and then run the tests to avoid "DLL

1
src/MagnumPlugins/WavAudioImporter/CMakeLists.txt

@ -49,6 +49,7 @@ install(FILES ${WavAudioImporter_HEADERS} DESTINATION ${MAGNUM_PLUGINS_INCLUDE_I
if(BUILD_TESTS)
add_library(MagnumWavAudioImporterTestLib STATIC $<TARGET_OBJECTS:WavAudioImporterObjects>)
set_target_properties(MagnumWavAudioImporterTestLib PROPERTIES DEBUG_POSTFIX "-d")
target_link_libraries(MagnumWavAudioImporterTestLib Magnum MagnumAudio)
# On Windows we need to install first and then run the tests to avoid "DLL

Loading…
Cancel
Save