Re: [CMake] howto re-run file(COPY signature ?

2010-11-24 Thread Eric Noulard
2010/11/24 Dominique Belhachemi : >> The ${CMAKE_SOURCE_DIR}/copytree.cmake script simply looks like: >> >> FILE(COPY ${SRC} DESTINATION ${DST} PATTERN .svn EXCLUDE) >> > Thanks, I will see if this works for me. > >> Because FILE(COPY ...) copies files and directories only if they are new > Does it

Re: [CMake] howto re-run file(COPY signature ?

2010-11-24 Thread Dominique Belhachemi
On Wed, 2010-11-24 at 10:55 +0100, Michael Hertling wrote: > On 11/24/2010 04:44 AM, Dominique Belhachemi wrote: > > Hello, > > > > I am using the following command in my CMakeLists.txt file to copy a > > directory with all sub-directories from the source tree to a directory > > in the binary tree

Re: [CMake] howto re-run file(COPY signature ?

2010-11-24 Thread Michael Hertling
On 11/24/2010 04:44 AM, Dominique Belhachemi wrote: > Hello, > > I am using the following command in my CMakeLists.txt file to copy a > directory with all sub-directories from the source tree to a directory > in the binary tree. > > file(COPY ${SRCDIR} > DESTINATION ${CMAKE_BINARY_DIR}/${DSTDIR

[CMake] howto re-run file(COPY signature ?

2010-11-23 Thread Dominique Belhachemi
Hello, I am using the following command in my CMakeLists.txt file to copy a directory with all sub-directories from the source tree to a directory in the binary tree. file(COPY ${SRCDIR} DESTINATION ${CMAKE_BINARY_DIR}/${DSTDIR}/ PATTERN .svn EXCLUDE ) After adding this line to CMakeLists.tx