Author: mordante
Date: Sat Apr 25 19:43:32 2009
New Revision: 35205
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35205&view=rev
Log:
Make the CXX FLAGS stricter like automake.
Modified:
trunk/CMakeLists.txt
Modified: trunk/CMakeLists.txt
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/CMakeLists.txt?rev=35205&r1=35204&r2=35205&view=diff
==============================================================================
--- trunk/CMakeLists.txt (original)
+++ trunk/CMakeLists.txt Sat Apr 25 19:43:32 2009
@@ -100,7 +100,7 @@
endif(NOT CONFIGURED)
#Add build-type: DEBUGSTRICT
- set(CMAKE_CXX_FLAGS_DEBUGSTRICT "-O0 -DDEBUG -ggdb3 -W -Wall -ansi
-Werror -Wno-unused -Wno-sign-compare" CACHE STRING "Flags used by the compiler
during strict debug builds.")
+ set(CMAKE_CXX_FLAGS_DEBUGSTRICT "-O0 -DDEBUG -ggdb3 -W -Wall -ansi
-Werror -Wno-unused-parameter" CACHE STRING "Flags used by the compiler during
strict debug builds.")
set(CMAKE_EXE_LINKER_FLAGS_DEBUGSTRICT
"${CMAKE_EXE_LINKER_FLAGS_DEBUG}" CACHE STRING "Flags used for linking binaries
during strict debug builds.")
mark_as_advanced(CMAKE_CXX_FLAGS_DEBUGSTRICT
CMAKE_EXE_LINKER_FLAGS_DEBUGSTRICT)
endif(CMAKE_COMPILER_IS_GNUCXX)
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits