[CMake] Set output path without additional Debug/Release at the end
Keith Gardner
kgardner at zebraimaging.com
Fri Apr 24 10:33:39 EDT 2009
Andreas,
What you will have to do is for every target, set the property prefix to
"../". There is no other way I have found to do this.
Example:
ADD_EXECUTABLE( ${PROJECT_NAME}
${SRCS}
)
SET_TARGET_PROPERTIES( ${PROJECT_NAME} PROPERTIES PREFIX "../" )
Keith
From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf
Of Andreas
Sent: Friday, April 24, 2009 6:27 AM
To: cmake at cmake.org
Subject: [CMake] Set output path without additional Debug/Release at the
end
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/670a7c13/attachment-0001.htm>
More information about the CMake
mailing list