[CMake] Post Build Custom Copy Command
Prashanth Udupa
prashanth.udupa at gmail.com
Thu Aug 9 03:14:01 EDT 2007
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 ARGS ${MYLIBRARY_SOURCE_DIR}/lib/release/mylib.lib
${MYLIBRARY_SOURCE_DIR}/lib
)
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?
Regards,
Prashanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070809/ca4e79e1/attachment.htm
More information about the CMake
mailing list