Skip to content

Commit

Permalink
Add debug postfix to executables. [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
VolkerEnderlein committed Dec 18, 2023
1 parent 61f653c commit 936df2f
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Base/elements/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion Mentor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Toolmaker/02.Nodes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion Toolmaker/03.Fields/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion Toolmaker/04.Actions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion Toolmaker/05.Elements/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion Toolmaker/07.Nodekits/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion Toolmaker/08.Manips/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 2 additions & 2 deletions Toolmaker/09.Highlights/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)
2 changes: 1 addition & 1 deletion Toolmaker/10.Components/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 936df2f

Please sign in to comment.