diff --git a/Base/elements/CMakeLists.txt b/Base/elements/CMakeLists.txt index a2f52b4..8686313 100644 --- a/Base/elements/CMakeLists.txt +++ b/Base/elements/CMakeLists.txt @@ -1,4 +1,4 @@ add_executable(lstextures lstextures.cpp texturefilenameelement.cpp) -set_target_properties(lstextures PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) +set_target_properties(lstextures PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") target_link_libraries(lstextures Coin::Coin) install(TARGETS lstextures RUNTIME DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/ivexamples_${Gui}/Base) diff --git a/Mentor/CMakeLists.txt b/Mentor/CMakeLists.txt index ef42086..4b445bc 100644 --- a/Mentor/CMakeLists.txt +++ b/Mentor/CMakeLists.txt @@ -10,7 +10,7 @@ macro(add_example) ) configure_file(${name}.cpp.in ${name}.cpp @ONLY) add_executable(${name} ${CMAKE_CURRENT_BINARY_DIR}/${name}.cpp) - set_target_properties(${name} PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) + set_target_properties(${name} PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") target_link_libraries(${name} So${Gui}::So${Gui} ${EXAMPLE_LIBS}) install(TARGETS ${name} RUNTIME DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/ivexamples_${Gui}/Mentor) endmacro(add_example) diff --git a/Toolmaker/02.Nodes/CMakeLists.txt b/Toolmaker/02.Nodes/CMakeLists.txt index 49d41e1..a639bfc 100644 --- a/Toolmaker/02.Nodes/CMakeLists.txt +++ b/Toolmaker/02.Nodes/CMakeLists.txt @@ -7,6 +7,6 @@ ${CMAKE_CURRENT_BINARY_DIR}/Pyramid.cpp Glow.cpp Alternate.cpp ) -set_target_properties(02.Nodes PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) +set_target_properties(02.Nodes PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") target_link_libraries(02.Nodes So${Gui}::So${Gui} OpenGL::GL) install(TARGETS 02.Nodes RUNTIME DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/ivexamples_${Gui}/Toolmaker) diff --git a/Toolmaker/03.Fields/CMakeLists.txt b/Toolmaker/03.Fields/CMakeLists.txt index 77814fc..1ab0d32 100644 --- a/Toolmaker/03.Fields/CMakeLists.txt +++ b/Toolmaker/03.Fields/CMakeLists.txt @@ -1,5 +1,5 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) add_executable(03.Fields main.cpp SFDouble.cpp MFDouble.cpp) -set_target_properties(03.Fields PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) +set_target_properties(03.Fields PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") target_link_libraries(03.Fields So${Gui}::So${Gui}) install(TARGETS 03.Fields RUNTIME DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/ivexamples_${Gui}/Toolmaker) diff --git a/Toolmaker/04.Actions/CMakeLists.txt b/Toolmaker/04.Actions/CMakeLists.txt index 044667a..5958adb 100644 --- a/Toolmaker/04.Actions/CMakeLists.txt +++ b/Toolmaker/04.Actions/CMakeLists.txt @@ -4,6 +4,6 @@ add_executable(04.Actions ${CMAKE_CURRENT_BINARY_DIR}/printVolume.cpp GetVolumeAction.cpp ) -set_target_properties(04.Actions PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) +set_target_properties(04.Actions PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") target_link_libraries(04.Actions So${Gui}::So${Gui}) install(TARGETS 04.Actions RUNTIME DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/ivexamples_${Gui}/Toolmaker) diff --git a/Toolmaker/05.Elements/CMakeLists.txt b/Toolmaker/05.Elements/CMakeLists.txt index c75870c..f122fec 100644 --- a/Toolmaker/05.Elements/CMakeLists.txt +++ b/Toolmaker/05.Elements/CMakeLists.txt @@ -1,5 +1,5 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) add_executable(05.Elements main.cpp TemperatureElement.cpp) -set_target_properties(05.Elements PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) +set_target_properties(05.Elements PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") target_link_libraries(05.Elements So${Gui}::So${Gui}) install(TARGETS 05.Elements RUNTIME DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/ivexamples_${Gui}/Toolmaker) diff --git a/Toolmaker/07.Nodekits/CMakeLists.txt b/Toolmaker/07.Nodekits/CMakeLists.txt index 33261af..7815ea9 100644 --- a/Toolmaker/07.Nodekits/CMakeLists.txt +++ b/Toolmaker/07.Nodekits/CMakeLists.txt @@ -4,6 +4,6 @@ add_executable(07.Nodekits ${CMAKE_CURRENT_BINARY_DIR}/jumpingJackKitTest.cpp JumpingJackKit.cpp ) -set_target_properties(07.Nodekits PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) +set_target_properties(07.Nodekits PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") target_link_libraries(07.Nodekits So${Gui}::So${Gui}) install(TARGETS 07.Nodekits RUNTIME DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/ivexamples_${Gui}/Toolmaker) diff --git a/Toolmaker/08.Manips/CMakeLists.txt b/Toolmaker/08.Manips/CMakeLists.txt index 59d85de..17c5394 100644 --- a/Toolmaker/08.Manips/CMakeLists.txt +++ b/Toolmaker/08.Manips/CMakeLists.txt @@ -8,6 +8,6 @@ TranslateRadialManip.cpp RotTransManip.cpp Coordinate3Manip.cpp ) -set_target_properties(08.Manips PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) +set_target_properties(08.Manips PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") target_link_libraries(08.Manips So${Gui}::So${Gui}) install(TARGETS 08.Manips RUNTIME DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/ivexamples_${Gui}/Toolmaker) diff --git a/Toolmaker/09.Highlights/CMakeLists.txt b/Toolmaker/09.Highlights/CMakeLists.txt index e1c0991..3239fcf 100644 --- a/Toolmaker/09.Highlights/CMakeLists.txt +++ b/Toolmaker/09.Highlights/CMakeLists.txt @@ -4,7 +4,7 @@ add_executable(09.Highlights_Selection ${CMAKE_CURRENT_BINARY_DIR}/selectionTest.cpp ShowSelectionRA.cpp ) -set_target_properties(09.Highlights_Selection PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) +set_target_properties(09.Highlights_Selection PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") target_link_libraries(09.Highlights_Selection Coin::Coin So${Gui}::So${Gui}) install(TARGETS 09.Highlights_Selection RUNTIME DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/ivexamples_${Gui}/Toolmaker) @@ -13,6 +13,6 @@ add_executable(09.Highlights_Overlay ${CMAKE_CURRENT_BINARY_DIR}/overlayTest.cpp OverlayHL.cpp ) -set_target_properties(09.Highlights_Overlay PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) +set_target_properties(09.Highlights_Overlay PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") target_link_libraries(09.Highlights_Overlay So${Gui}::So${Gui}) install(TARGETS 09.Highlights_Overlay RUNTIME DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/ivexamples_${Gui}/Toolmaker) diff --git a/Toolmaker/10.Components/CMakeLists.txt b/Toolmaker/10.Components/CMakeLists.txt index b3a35d7..cadb75a 100644 --- a/Toolmaker/10.Components/CMakeLists.txt +++ b/Toolmaker/10.Components/CMakeLists.txt @@ -19,7 +19,7 @@ if (Gui STREQUAL "Xt") ${CMAKE_CURRENT_BINARY_DIR}/tumble.cpp ${CMAKE_CURRENT_BINARY_DIR}/SceneTumble.cpp ) - set_target_properties(10.Components PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) + set_target_properties(10.Components PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") target_link_libraries(10.Components So${Gui}::So${Gui} X11::Xt) install(TARGETS 10.Components RUNTIME DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/ivexamples_${Gui}/Toolmaker) endif() diff --git a/appveyor.yml b/appveyor.yml index 1b1d7f3..4b76f27 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -309,7 +309,7 @@ before_build: build_script: - cmd: | set BUILD_TOOL_OPTIONS=/nologo /verbosity:minimal /maxcpucount /property:MultiProcessorCompilation=true;CL_MPCount=3 - cmake --build build --target INSTALL --config Debug -- %BUILD_TOOL_OPTIONS% + rem cmake --build build --target INSTALL --config Debug -- %BUILD_TOOL_OPTIONS% cmake --build build --target INSTALL --config Release -- %BUILD_TOOL_OPTIONS% - sh: | BUILD_TOOL_OPTIONS=-j4