In ccmake or CMakeSetup, add the flag to either CMAKE_C_FLAGS or CMAKE_CXX_FLAGS.
-Eric On 2/24/08, David Sveningsson <[EMAIL PROTECTED]> 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@cmake.org > http://www.cmake.org/mailman/listinfo/cmake > _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake