From af3a2f83e31c9f5395c6a28001757851cfb2dad7 Mon Sep 17 00:00:00 2001
From: Matthew Owens <matthew@owens.tech>
Date: Sun, 26 Dec 2021 15:09:59 +0000
Subject: [PATCH] updated CMakeLists

---
 CMakeLists.txt | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a91b8eb..e2b713e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,17 +1,20 @@
 cmake_minimum_required(VERSION 3.15)
-project(priority_queue)
+project(priority-queue)
 
 set(CMAKE_C_STANDARD 11)
+set(CMAKE_BUILD_TYPE DEBUG)
 
 file(GLOB_RECURSE SRC
 	src/*.c
-	priority_queue-test/*.c
+	priority-queue-test/*.c
 )
 
-add_executable(priority_queue-test ${SRC})
-target_include_directories(priority_queue-test
+add_executable(priority-queue-test ${SRC})
+add_compile_options("-Wall" "-Wextra" "-ggdb")
+target_compile_options(priority-queue-test PRIVATE "-pedantic-errors")
+target_include_directories(priority-queue-test
 	PUBLIC src
-	PUBLIC priority_queue-test
+	PUBLIC priority-queue-test
 )
 
-target_link_libraries(priority_queue-test PRIVATE check)
+target_link_libraries(priority-queue-test PRIVATE check)
-- 
2.20.1