cmake: add support for unity builds (#1186)

This commit is contained in:
Dennis Brakhane
2025-07-28 09:02:49 +02:00
committed by GitHub
parent eb07171ba9
commit 80d51ac8a6
4 changed files with 19 additions and 7 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ endif ()
if (MSVC)
set_property(TARGET Example_ImGui_Docking PROPERTY VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
endif ()
set_property(TARGET Example_ImGui_Docking PROPERTY UNITY_BUILD NO)
# Copy content to build folder:
add_dependencies(Example_ImGui_Docking Content)