> Von: Jesper Eskilson
> An: Jack Kelly
> CC: [email protected]
> Betreff: Re: [CMake] Project being (unnecessarily) relinked
> Jack Kelly wrote:
> > Is there any reason why
> >
> > IF("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
> > LINK_DIRECTORIES("/path/to/debug/lib")
> > ELSE("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
> > LINK_DIRECTORIES("/path/to/release/lib")
> > ENDIF("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
> >
> > won't work for you?
>
> Yes; I'm using Visual Studio project files. The build type is not set
> when cmake is run; it is determined by Visual Studio.
>
And this:
SET(FOO_LIBRARY optimized FOO_LIBRARY_RELEASE} debug FOO_LIBRARY_DEBUG})
?
Christian
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake