[CMake] Visual Studio Warning Level

Robert Dailey rcdailey at gmail.com
Fri Nov 21 21:09:11 EST 2008


Hi,

I've done some googling on how to set warning levels for visual studio
projects generated with CMake and I can't say I really enjoy the proposed
solutions I've found. Literally this should be a single function call like:

cmake_warning_level( 4 )

I expected something simple like above, but instead I found solutions that
involved over 10 lines of code and very complex logic. This is really
starting to discourage me from using CMake. I won't jump the gun, though,
and I'll assume that I just haven't found that magically simple solution
yet. Help is greatly appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081121/a9f52b0e/attachment.htm>


More information about the CMake mailing list