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
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
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