[CMake] How to add CMake includes and libraries to Visual Studio Solution?

Rolf Eike Beer eike at sf-mail.de
Mon Jan 16 13:08:54 EST 2012


J Decker wrote:
> I just use
> include_directories( ... )

This is right.

> LINK_DIRECTORIES( ...} )

This is almost surely wrong. LINK_DIRECTORIES is only needed for very seldom 
special cases and only causes headache in all other cases.

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120116/b925f6b8/attachment.pgp>


More information about the CMake mailing list