From: Matthew Owens Date: Sat, 25 Dec 2021 17:31:23 +0000 (+0000) Subject: updated cmakelists X-Git-Url: https://git.owens.tech/assets/static/gitweb.css/assets/static/gitweb.css/git?a=commitdiff_plain;h=ef25ff383c40893b07e5a158bb8c8b5d7b25d8bb;p=AbyssalThistle%2Fqueue.git updated cmakelists --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fa3b14..0859edd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.15) project(queue) set(CMAKE_C_STANDARD 11) +set(CMAKE_BUILD_TYPE DEBUG) file(GLOB_RECURSE SRC src/*.c @@ -9,6 +10,8 @@ file(GLOB_RECURSE SRC ) add_executable(queue-test ${SRC}) +add_compile_options("-Wall" "-Wextra" "-ggdb") +target_compile_options(queue-test PRIVATE "-pedantic-errors") target_include_directories(queue-test PUBLIC src PUBLIC queue-test