[CMake] Detailed control of pre-set libraries in VisualStudio 10 project

Mikhail Pridushchenko mikhail.pridushchenko at gmail.com
Thu Jan 26 19:22:27 EST 2012


Hello!
I'm using CMake 2.8.7 and setting up a project with very specific
restrictions on a library set to link with. The problem is to remove
pre-set libraries (like kernel32.lib) from the "link with" section of the
project. Setting CMAKE_CXX_EXPLICIT_LINK_LIBRARIES didn't play. Is there
any way to have such a fine control of the project generation.

And another similar question. Is there any way in CMake to tune settings in
the main section for compiler flags (i. e. not to provide additional flags,
but get rid of some default ones)?

Thank you in advance.

Mikhail.
**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120127/a4ae2a67/attachment-0001.htm>


More information about the CMake mailing list