diff options
| author | 3gg <3gg@shellblade.net> | 2026-04-05 15:00:15 -0700 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2026-04-05 15:00:15 -0700 |
| commit | 51cb3dca28db17a1975cc9e04b6c75d2c89715c2 (patch) | |
| tree | 26e03ea266bf8f7f9f0e27126cde9da51335f5dc /timer/CMakeLists.txt | |
| parent | c3f868d293a9b63a2bdc74dabdeaec9c4a0dfc5a (diff) | |
Add pedantic
Diffstat (limited to 'timer/CMakeLists.txt')
| -rw-r--r-- | timer/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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}) | |||
| 15 | 15 | ||
| 16 | target_include_directories(timer PUBLIC include) | 16 | target_include_directories(timer PUBLIC include) |
| 17 | 17 | ||
| 18 | target_compile_options(timer PRIVATE -Wall -Wextra) | 18 | target_compile_options(timer PRIVATE -Wall -Wextra -Wpedantic) |
| 19 | 19 | ||
| 20 | # Test | 20 | # Test |
| 21 | 21 | ||
| @@ -24,4 +24,4 @@ add_executable(timer_test | |||
| 24 | 24 | ||
| 25 | target_link_libraries(timer_test timer) | 25 | target_link_libraries(timer_test timer) |
| 26 | 26 | ||
| 27 | target_compile_options(timer_test PRIVATE -DUNIT_TEST -DNDEBUG -Wall -Wextra) | 27 | target_compile_options(timer_test PRIVATE -DUNIT_TEST -DNDEBUG -Wall -Wextra -Wpedantic) |
