From 4d87ef4bf420d5d62347d68b8a774a134a4142ef Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Sat, 9 Apr 2022 16:22:11 +0200 Subject: [PATCH] -Wextra --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c01ead7..a607c8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ project(PDP-11) cmake_minimum_required(VERSION 3.9) -add_compile_options(-Wall -pedantic) +add_compile_options(-Wall -pedantic -Wextra) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED True) @@ -28,8 +28,8 @@ add_executable( include(CheckIPOSupported) check_ipo_supported(RESULT supported) -set(CMAKE_BUILD_TYPE RelWithDebInfo) -#set(CMAKE_BUILD_TYPE Debug) +#set(CMAKE_BUILD_TYPE RelWithDebInfo) +set(CMAKE_BUILD_TYPE Debug) set(CMAKE_THREAD_PREFER_PTHREAD TRUE) set(THREADS_PREFER_PTHREAD_FLAG TRUE)