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: [email protected] [mailto:[email protected]] On Behalf
Of Andreas
Sent: Friday, April 24, 2009 6:27 AM
To: [email protected]
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
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake