On 29. Jul, 2010, at 7:51 , Dieter Oberkofler wrote:

> A couple of questions regarding the warning levels when compiling:
> 1) Is there a "preferred" way to change the warning level in CMake?
> 2) What is the default warning level CMake is using when compiling and how
> can it be defined?
> Thank you,
> -D

AFAIK CMake doesn't pass any warning-level specific flags to the compiler, and 
there's no way to tell it to. That's something you have to do (e.g. by setting 
CMAKE_C_FLAGS and CMAKE_CXX_FLAGS).


Michael

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to