diff options
author | pommicket <pommicket@gmail.com> | 2023-05-21 22:52:19 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-05-21 22:52:19 -0400 |
commit | e52c5c62824e378bc9a25fff1f41b0254eb85a8a (patch) | |
tree | c2187ceb4e67d40715bf75747a10bb2b6b9d8e4d /CMakeLists.txt | |
parent | 37eb65550f164857ed27d2e07c48c8b80c4d15fc (diff) |
highlight TODOs in comments
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 994f286..e808041 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,8 @@ if(MSVC) target_link_libraries(ted ${SDL2_LIB_DIR}/SDL2.lib) target_link_libraries(ted ${CMAKE_SOURCE_DIR}/pcre2-32-static.lib) else() - set(CMAKE_C_FLAGS "-Wall -Wextra -Wshadow -Wconversion -Wpedantic -pedantic -std=gnu11 -Wno-unused-function -Wno-fixed-enum-extension -Wimplicit-fallthrough -Wno-format-truncation -Wno-unknown-warning-option") + # NOTE: -gdwarf-4 is needed for valgrind to work + set(CMAKE_C_FLAGS "-Wall -Wextra -Wshadow -Wconversion -Wpedantic -pedantic -std=gnu11 -gdwarf-4 -Wno-unused-function -Wno-fixed-enum-extension -Wimplicit-fallthrough -Wno-format-truncation -Wno-unknown-warning-option") target_link_libraries(ted m SDL2) target_link_libraries(ted ${CMAKE_SOURCE_DIR}/libpcre2-32.a) endif() |