[CMake] Enable warnings

E. Wing ewmailing at gmail.com
Sun Feb 24 16:18:31 EST 2008


In ccmake or CMakeSetup, add the flag to either CMAKE_C_FLAGS or
CMAKE_CXX_FLAGS.

-Eric


On 2/24/08, David Sveningsson <ext at sidvind.com> wrote:
> Hi, I'm quite new with cmake and I can't figure out how to enable
> warnings for the generated makefiles/projects. For instance, I would
> like to use the -Wall flag with gcc.
>
> --
>
>
> //*David Sveningsson [eXt]*
>
> Freelance coder | Game Development Student
> http://sidvind.com
>
> Thou shalt make thy program's purpose and structure clear to thy fellow
> man by using the One True Brace Style, even if thou likest it not, for
> thy creativity is better used in solving problems than in creating
> beautiful new impediments to understanding.
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>


More information about the CMake mailing list