diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-29 21:02:25 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-29 21:02:25 -0500 |
commit | 8ce397e8c0a83e49e390de9deb73d588e4931ecf (patch) | |
tree | 31f4f4facf0cb75535aaec130d606c54fe97b2d8 /CMakeLists.txt | |
parent | f281050ddb3b9d658cff67a254eedc3b79de5c5d (diff) |
Reworking of Result.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b2d05a..e40d7b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,10 +52,14 @@ else() set(FUD_BOUNDS_CHECKING true) endif() +if(FUD_SAN) +set(CVG_FLAGS ${CVG_FLAGS} -fsanitize=address -fsanitize=undefined -fno-sanitize=vptr) +endif() + if (FUD_TEST) add_subdirectory(test) # set(CVG_FLAGS -fsanitize=address -fsanitize=undefined --coverage) - set(CVG_FLAGS --coverage) + set(CVG_FLAGS ${CVG_FLAGS} --coverage) target_compile_options(fud PUBLIC ${CVG_FLAGS}) target_link_options(fud PUBLIC ${CVG_FLAGS}) endif () @@ -102,6 +106,7 @@ set(FUD_HEADERS "include/fud_c_file.hpp" "include/fud_c_string.hpp" "include/fud_directory.hpp" + "include/fud_drain.hpp" "include/fud_file.hpp" "include/fud_fixed_vector.hpp" "include/fud_fud_type_traits.hpp" |