[CMake] removing CMAKE_BUILD_TYPE(debug/release...) in outpath & libpath
Tyler Roscoe
tyler at cryptio.net
Thu Oct 22 11:27:56 EDT 2009
On Thu, Oct 22, 2009 at 03:02:22PM +0900, Darren ha wrote:
> 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.
You also need to set IMPORT_PREFIX.
tyler
More information about the CMake
mailing list