[CMake] Set output path without additional Debug/Release at the end

Andreas moinandreas at googlemail.com
Fri Apr 24 07:27:11 EDT 2009


Dear CMake users,

I would like to set the output path of my library to
C:/name1/Debug/name2/      (debug configuration) and
C:/name1/Release/name2/      (release configuration).

If I use
SET(LIBRARY_OUTPUT_PATH  D:/name1/${CMAKE_CFG_INTDIR}/name2/)
an additional Debug / Release is added at the end of the path (-->
C:/name1/Debug/name2/Debug).

Is there any way *not to add an additional* Debug / Release at the end?

Thanks,
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090424/8042f02e/attachment.htm>


More information about the CMake mailing list