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
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to