Re: [CMake] Post Build Custom Copy Command

2007-08-09 Thread Brandon Van Every
On 8/9/07, Prashanth Udupa <[EMAIL PROTECTED]> wrote: > Hi All, > > I am using a custom post build command. > > ADD_CUSTOM_COMMAND( > TARGET mylib > POST_BUILD > COMMAND copy ARGS > ${MYLIBRARY_SOURCE_DIR}/lib/release/mylib.dll > ${MYLIBRARY_SOURCE_DIR}/bin/release > COMMAND copy AR

Re: [CMake] Post Build Custom Copy Command

2007-08-09 Thread Prashanth Udupa
Hi, COMMAND ${CMAKE_COMMAND} -E copy Thanks. This worked. Best Regards, Prashanth ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

RE: [CMake] Post Build Custom Copy Command

2007-08-09 Thread Torsten Martinsen
Prashanth Udupa wrote: > Since copy does not accept file names of the form D:/SomeFolder/SomOtherFolder/ and only of the form D:\SomeFolder\SomOtherFolder\, > the copy command is failing. How can I make this post build command work? Use COMMAND ${CMAKE_COMMAND} -E copy ${MYLIBRARY_SOURCE_DI