From 4b979f58e029fbe428fc3b1bbd8cbee6a395d28b Mon Sep 17 00:00:00 2001 From: dickelbeck Date: Sat, 5 Jan 2008 16:31:03 +0000 Subject: [PATCH] enabled -Wall, and getting -Wformat with it, for specctra development --- pcbnew/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/CMakeLists.txt b/pcbnew/CMakeLists.txt index abc743116c..4468c7b527 100644 --- a/pcbnew/CMakeLists.txt +++ b/pcbnew/CMakeLists.txt @@ -165,11 +165,11 @@ ENDIF(APPLE) ADD_EXECUTABLE(pcbnew WIN32 MACOSX_BUNDLE ${PCBNEW_SRCS} ${PCBNEW_EXTRA_SRCS} ${PCBNEW_RESOURCES}) # This one gets made only when testing. -SET_SOURCE_FILES_PROPERTIES(dsn.cpp PROPERTIES COMPILE_FLAGS -DSTANDALONE) +SET_SOURCE_FILES_PROPERTIES(dsn.cpp PROPERTIES COMPILE_FLAGS "-DSTANDALONE -Wall") ADD_EXECUTABLE(dsntest EXCLUDE_FROM_ALL dsn.cpp) TARGET_LINK_LIBRARIES(dsntest common ${wxWidgets_LIBRARIES}) -SET_SOURCE_FILES_PROPERTIES(specctra.cpp PROPERTIES COMPILE_FLAGS -DSTANDALONE) +SET_SOURCE_FILES_PROPERTIES(specctra.cpp PROPERTIES COMPILE_FLAGS "-DSTANDALONE -Wall") ADD_EXECUTABLE(specctra_test EXCLUDE_FROM_ALL specctra.cpp dsn.cpp ) TARGET_LINK_LIBRARIES(specctra_test common ${wxWidgets_LIBRARIES})