Files
geant4/examples/extended/common/scripts/CMakeLists_template_6.txt
T
2016-06-09 17:01:34 +02:00

18 lines
523 B
Plaintext

#----------------------------------------------------------------------------
# Copy all scripts to the build directory, i.e. the directory in which we
# build EXAMPLE_NAME. This is so that we can run the executable directly because it
# relies on these scripts being in the current working directory.
#
set(EXAMPLE_NAME_SCRIPTS
EXAMPLE_SCRIPT_LIST
)
foreach(_script ${EXAMPLE_NAME_SCRIPTS})
configure_file(
${PROJECT_SOURCE_DIR}/${_script}
${PROJECT_BINARY_DIR}/${_script}
COPYONLY
)
endforeach()