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 _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake