From 51cb3dca28db17a1975cc9e04b6c75d2c89715c2 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sun, 5 Apr 2026 15:00:15 -0700 Subject: Add pedantic --- timer/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'timer') diff --git a/timer/CMakeLists.txt b/timer/CMakeLists.txt index fb300a0..55f4d79 100644 --- a/timer/CMakeLists.txt +++ b/timer/CMakeLists.txt @@ -15,7 +15,7 @@ add_library(timer ${SRC}) target_include_directories(timer PUBLIC include) -target_compile_options(timer PRIVATE -Wall -Wextra) +target_compile_options(timer PRIVATE -Wall -Wextra -Wpedantic) # Test @@ -24,4 +24,4 @@ add_executable(timer_test target_link_libraries(timer_test timer) -target_compile_options(timer_test PRIVATE -DUNIT_TEST -DNDEBUG -Wall -Wextra) +target_compile_options(timer_test PRIVATE -DUNIT_TEST -DNDEBUG -Wall -Wextra -Wpedantic) -- cgit v1.2.3