Skip to content
Snippets Groups Projects
Commit ac552c6a authored by Vladimir Onoprienko's avatar Vladimir Onoprienko
Browse files

Add a config file

Provide an example of how to copy non-source files into build
directory.
parent 37ffc42b
No related branches found
No related tags found
No related merge requests found
...@@ -85,6 +85,10 @@ target_include_directories(exple_add_numbers PRIVATE ...@@ -85,6 +85,10 @@ target_include_directories(exple_add_numbers PRIVATE
"${COMMON_HEADER_DIR}" "${COMMON_HEADER_DIR}"
"${GRID_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 # set groups for better source representation in IDEs
source_group("Common\\Sources" FILES "${COMMON_SOURCES}") source_group("Common\\Sources" FILES "${COMMON_SOURCES}")
......
#This is a config file
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment