[CMake] Per-configuration include directories?

Kevin Burge kevin.burge at systemware.com
Thu Dec 29 15:17:00 EST 2011


I used the debug and optimized just as you said.  Thank you!

On 12/29/2011 2:14 PM, Robert Dailey wrote:
> It won't be necessary with link_directories because you can specify 
> absolute paths to your LIB files in target_link_libraries(). You can 
> also specify 'debug' or 'optimized' prior to the lib. for example:
>
> target_link_libraries( myproject
>    debug "C:/project/libs/debug/zlib.lib"
>    optimized "C:/project/libs/release/zlib.lib"
> )
>
> ---------
> Robert Dailey
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111229/09345f39/attachment.htm>


More information about the CMake mailing list