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