projects
/
AbyssalThistle
/
queue.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0f9bd1
)
updated cmakelists
author
Matthew Owens
<matthew@owens.tech>
Sat, 25 Dec 2021 17:31:23 +0000
(17:31 +0000)
committer
Matthew Owens
<matthew@owens.tech>
Sat, 25 Dec 2021 17:31:23 +0000
(17:31 +0000)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
9fa3b14
..
0859edd
100644
(file)
--- 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