I do something like this (I think it was taken from the VTK CmakeLists.txtfile):
#-
# Let's use the highest warning level.
#-
IF(CMAKE_BUILD_TOOL
Michael Wagner
Sent: Tue 8/28/2007 8:07 AM
To: cmake@cmake.org
Subject: [CMake] Turning on warnings when compiling.
Hi,
Whenever I'm compiling, there are no warnings shown.
Is there a command or variable that can be used to turn on warnings?
When searching the wiki, the only information I foun
Michael Wagner wrote:
Hi,
Whenever I'm compiling, there are no warnings shown.
Is there a command or variable that can be used to turn on warnings?
I don't know of a specific CMake mechanism to turn on warnings. I
figure out which compiler I'm using and turn on flags manually by adding
the
Michael Wagner wrote:
Maybe somebody out there knows how to turn on warnings. (Hopefully you
are not all fearless coders that laugh in the face of warnings... ;-)
Real Programmers(tm) don't need warnings!
For mortals like myself, here's how I do it:
Go into the CMake cache via `make edit_cach
Hi,
Whenever I'm compiling, there are no warnings shown.
Is there a command or variable that can be used to turn on warnings?
When searching the wiki, the only information I found was this page:
http://www.cmake.org/Wiki/CMake_Platform_Dependent_Issues
which tells me the right flags for all the d