On 11/10/2010 01:17 AM, James Bigler wrote:
> I have a build rule that copies files from the source tree to the build
> tree:
>
> foreach( script ${scripts} )
> set( src "${CMAKE_CURRENT_SOURCE_DIR}/${script}" )
> set( dest "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${script}" )
> list( APPEND dest
I have a build rule that copies files from the source tree to the build
tree:
foreach( script ${scripts} )
set( src "${CMAKE_CURRENT_SOURCE_DIR}/${script}" )
set( dest "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${script}" )
list( APPEND dest_files "${dest}" )
add_custom_command(
OUTPUT "${des