changeset 709:4c08951a34f2

build: enable warnings and optimizations These got lost when the non-tools build switched to bmake. Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Fri, 16 Apr 2021 08:58:27 -0400
parents e33bb104fa9a
children afe9a4eaa767
files build/CMakeLists.txt
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/build/CMakeLists.txt	Fri Apr 16 08:56:55 2021 -0400
+++ b/build/CMakeLists.txt	Fri Apr 16 08:58:27 2021 -0400
@@ -1,6 +1,13 @@
 cmake_minimum_required(VERSION 2.8.12)
 project(build)
 
+add_compile_options(
+	-Wall
+	-O2
+	-g
+	-fno-omit-frame-pointer
+)
+
 add_executable(ccw_gen ccw_gen.c)
 add_executable(padcat padcat.c)
 add_executable(mkarchive mkarchive.c)