# Manual re-run of CMake is required to detect and copy new data files into the build directory file(GLOB audio CONFIGURE_DEPENDS "*.ogg") file(COPY ${audio} DESTINATION ${CMAKE_BINARY_DIR}/res/audio) #copy credits configure_file(${CMAKE_CURRENT_SOURCE_DIR}/credit.txt ${CMAKE_CURRENT_BINARY_DIR} COPYONLY)