From a163f2b5431ab8b274e7ac2e4b7dbf2299675905 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 8 Oct 2015 19:33:33 +0200 Subject: Add fullscreen bg to printergui; preserve job name --- CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 7530b78..0745441 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,10 +9,10 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0) IF (CMAKE_BUILD_TYPE STREQUAL "") SET(CMAKE_BUILD_TYPE Debug) ENDIF() -SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wall -Wunused -Wunreachable-code -pedantic") -SET(CMAKE_C_FLAGS_RELEASE "-O2") -SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -Wall") -SET(CMAKE_CXX_FLAGS_RELEASE "-O2" ) +SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wall -Wunused -Wunreachable-code -pedantic -fno-strict-aliasing") +SET(CMAKE_C_FLAGS_RELEASE "-O2 -fno-strict-aliasing") +SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -Wall -Wunused -Wunreachable-code -pedantic -fno-strict-aliasing") +SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -fno-strict-aliasing" ) # local cmake modules SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) @@ -61,6 +61,7 @@ FILE(GLOB PWGUI_UIS # includes all header files that should be treated with moc SET(MAINGUI_MOC_HDRS src/maingui/printergui.h + src/maingui/backdrop.h ) SET(PWGUI_MOC_HDRS -- cgit v1.2.3-55-g7522