[CMake] removing CMAKE_BUILD_TYPE(debug/release...) in outpath & libpath
Darren ha
nberserk at gmail.com
Thu Oct 22 02:02:22 EDT 2009
Dear List!
this issue may be discussed already. I am sending raise this because I
couldn't find it.
I want to
- set lib/bin out path to /bin when using MSVC_IDE.
but the lib/bin is created in /bin/debug initially.
to workaround it, i add a following prefix.
IF(MSVC_IDE)
SET_TARGET_PROPERTIES(${this_target} PROPERTIES PREFIX "../")
ENDIF(MSVC_IDE)
now, the dll is created under /bin, but the lib is created under /bin/debug.
how can i solve this kind of puzzle ?
thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091022/ce2e2728/attachment-0001.htm>
More information about the CMake
mailing list