mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-23 03:57:57 +02:00
remove templates
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user