diff --git a/CMakeLists.txt b/CMakeLists.txt index 13e4a378fd6b924c25ed3e36ad501f60b5c11fe7..0d1f42301977bef900f579bf704b22b4e24980d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,6 +85,10 @@ target_include_directories(exple_add_numbers PRIVATE "${COMMON_HEADER_DIR}" "${GRID_HEADER_DIR}") +add_custom_command(TARGET exple_add_numbers POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy_directory + "${PROJECT_SOURCE_DIR}/exple-cmake-build/config-examples" "$<TARGET_FILE_DIR:exple_add_numbers>/config-examples") + # set groups for better source representation in IDEs source_group("Common\\Sources" FILES "${COMMON_SOURCES}") diff --git a/exple-cmake-build/config-examples/config.txt b/exple-cmake-build/config-examples/config.txt new file mode 100644 index 0000000000000000000000000000000000000000..e2842a91deb3325c183803ab361c7fb5ab75eb8f --- /dev/null +++ b/exple-cmake-build/config-examples/config.txt @@ -0,0 +1 @@ +#This is a config file \ No newline at end of file