[CMake] Re: Managing warning level
jbd
evadream.mlist at evadream.net
Sun Mar 26 10:22:05 EST 2006
Thank you for your answer. Indeed, i just have 2 cases. But i wanted to
knwon the clever way to write clean CMakeLists.txt !
Thank you again !
> That's only 2 cases. Use IF(CMAKE_COMPILER_IS_GNUCC) and IF(MSVC). At
> least, these are available in CMake 2.3. If you have more compilers
> than that, then the question is whether warning levels are abstractable
> across many different compilers. Dunno myself, I've only had to worry
> about GCC and MSVC.
>
>
> Cheers,
> Brandon Van Every
More information about the CMake
mailing list