Re: [CMake] Visual Studio Warning Level

2008-11-22 Thread Robert Dailey
So it seems that this issue has come up before and it is an obvious feature to implement. In the meantime, can someone offer me the code for a macro I can use to easily and portably set warning levels? Thanks. ___ CMake mailing list CMake@cmake.org http:

[CMake] ALL_BUILD and ZERO_CHECK

2008-11-21 Thread Robert Dailey
Hi, Is there a purpose for these 2 projects? They are generated when I run: cmake -G "Visual Studio 9 2008" Is there a way to prevent CMake from generating these 2 projects? I really don't need them. ___ CMake mailing list CMake@cmake.org http://www.cm

[CMake] Complaint about if..endif

2008-11-21 Thread Robert Dailey
Hi, Why must endif() contain the same expression as the associated if() command? Isn't CMake smart enough to know that a simple occurrence of "endif()" simply matches the previous if(), regardless of its expression list? Are there any plans to simplify this? The way it is now is redundant and boil

[CMake] Visual Studio Warning Level

2008-11-21 Thread Robert Dailey
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 in

[CMake] Portable preprocessor defines?

2008-11-21 Thread Robert Dailey
Hi, I want to define a preprocessor directive through CMakeLists.txt, however the only documented method of doing this that I see is *add_definitions()*. Is there a better way of doing this? According to the documentation this isn't 100% portable, which in my opinion defeats the entire purpose of

<    4   5   6   7   8   9