remove templates

This commit is contained in:
Bechir Braham
2024-03-20 13:14:14 +01:00
parent 4da9bc0813
commit cd905e96f3
25 changed files with 223 additions and 200 deletions

View File

@ -64,6 +64,35 @@ if(AARE_USE_WARNINGS)
)
endif()
if (NOT AARE_PYTHON_BINDINGS)
target_compile_options(
aare_compiler_flags
INTERFACE
-fsanitize=address
-fdiagnostics-parseable-fixits
-fdiagnostics-generate-patch
-fdiagnostics-show-template-tree
-fsanitize=address,undefined,pointer-compare
-fno-sanitize-recover
-D_FORTIFY_SOURCE=2
-fstack-protector
-fno-omit-frame-pointer
)
target_link_libraries(
aare_compiler_flags
INTERFACE
-fsanitize=address
-fdiagnostics-parseable-fixits
-fdiagnostics-generate-patch
-fdiagnostics-show-template-tree
-fsanitize=address,undefined,pointer-compare
-fno-sanitize-recover
-D_FORTIFY_SOURCE=2
-fstack-protector
-fno-omit-frame-pointer
)
endif()
if(AARE_TESTS)
add_subdirectory(tests)
endif()
@ -81,7 +110,6 @@ target_include_directories(aare INTERFACE
)
add_subdirectory(examples)
target_link_libraries(example PUBLIC aare)
if(AARE_PYTHON_BINDINGS)