This commit is contained in:
j842
2025-06-03 09:35:27 +12:00
parent 51700a364e
commit 4c912c5daa
3 changed files with 11 additions and 26 deletions

View File

@ -52,9 +52,7 @@ add_custom_target(run_prebuild_script ALL
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
set(SOURCES
src/main.cpp
)
file(GLOB_RECURSE SOURCES "src/*.cpp")
# Mark sources as GENERATED to defer existence check until build time
set_source_files_properties(${SOURCES} PROPERTIES GENERATED TRUE)