[Marble-commits] KDE/kdeedu/marble
Thibaut Gridel
tgridel at free.fr
Sat Aug 15 10:35:36 CEST 2009
SVN commit 1011597 by tgridel:
have cmake PEDANTIC check more
M +6 -1 CMakeLists.txt
--- trunk/KDE/kdeedu/marble/CMakeLists.txt #1011596:1011597
@@ -145,6 +145,7 @@
# Will removed in feature after success
#add_definitions(-DKML_DEBUG)
#add_definitions(-DKML_GSOC)
+add_definitions(-DDUMP_PARENT_STACK)
####################################################
# Where to look first for cmake modules,
@@ -222,7 +223,11 @@
# In pedantic mode, enable warnings, halt compile on warnings
# Its good programming practice to build with no warnings....
if (PEDANTIC)
- ADD_DEFINITIONS( -Wall -Werror )
+ ADD_DEFINITIONS( -g -ansi
+ -W -Wall -Werror -Wundef
+ -Wnon-virtual-dtor -Woverloaded-virtual
+ -Wno-long-long -Wchar-subscripts
+ -Wcast-align -Wpointer-arith -Wformat-security )
endif (PEDANTIC)
#############################################################
More information about the Marble-commits
mailing list