${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}
On Sat, Dec 13, 2008 at 1:31 PM, Tron Thomas wrote:
> I have tried a different approach that has been more successful:
>
> add_custom_target(CopyXML ${CMAKE_COMMAND} -E copy_directory
>${CMAKE_CURRENT_SOURCE_DIR}/XML ${EXECUTABLE_OUTPUT_PATH}
I have tried a different approach that has been more successful:
add_custom_target(CopyXML ${CMAKE_COMMAND} -E copy_directory
${CMAKE_CURRENT_SOURCE_DIR}/XML ${EXECUTABLE_OUTPUT_PATH}
add_dependencies(UnitTest CopyXML)
This will always copy the files whether they need to be updated or
I have a project configured with CMake that needs to have set of XML
files copied to the directory where executables are built so that a
unit test that relies on these files can execute.
I tried to create a custom command that should copy the files and
tried to set that command up as depen