From 39535989becfb095f9f9af36aca8d1d83787764c Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Wed, 30 Mar 2022 14:43:51 +0200 Subject: [PATCH] compile switches --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c2a75a9..439003a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,7 @@ project(PDP-11) cmake_minimum_required(VERSION 3.9) +add_compile_options(-Wall -pedantic) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED True)