# HG changeset patch # User Josef 'Jeff' Sipek # Date 1618577907 14400 # Fri Apr 16 08:58:27 2021 -0400 # Node ID 4c08951a34f269217e10d74338e7aef708139fc2 # Parent e33bb104fa9ad908f8a1593bc6dd430f833bf994 build: enable warnings and optimizations These got lost when the non-tools build switched to bmake. Signed-off-by: Josef 'Jeff' Sipek diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -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)