some cleanups (#2601)
* exclude the *_sanitized fuzz-client dependencies from all as well * .gitignore: added CMake output folders and removed a duplicated entry
This commit is contained in:
parent
8e9d7290b2
commit
aaffd1f761
|
@ -80,7 +80,6 @@ htmlreport/.tox/
|
||||||
htmlreport/MANIFEST
|
htmlreport/MANIFEST
|
||||||
|
|
||||||
# Backup files and stuff from patches
|
# Backup files and stuff from patches
|
||||||
*.orig
|
|
||||||
*.rej
|
*.rej
|
||||||
*~
|
*~
|
||||||
|
|
||||||
|
@ -108,3 +107,4 @@ man/manual.tex
|
||||||
# CLion
|
# CLion
|
||||||
.idea
|
.idea
|
||||||
/.metadata/
|
/.metadata/
|
||||||
|
cmake-*
|
||||||
|
|
|
@ -3,7 +3,7 @@ file(GLOB srcs "*.cpp")
|
||||||
|
|
||||||
add_library(simplecpp_objs OBJECT ${srcs} ${hdrs})
|
add_library(simplecpp_objs OBJECT ${srcs} ${hdrs})
|
||||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
add_library(simplecpp_objs_sanitized OBJECT ${srcs} ${hdrs})
|
add_library(simplecpp_objs_sanitized OBJECT EXCLUDE_FROM_ALL ${srcs} ${hdrs})
|
||||||
target_compile_options(simplecpp_objs_sanitized PRIVATE -fsanitize=address)
|
target_compile_options(simplecpp_objs_sanitized PRIVATE -fsanitize=address)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,6 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
||||||
target_compile_options(tinyxml_objs PRIVATE -Wno-suggest-attribute=format)
|
target_compile_options(tinyxml_objs PRIVATE -Wno-suggest-attribute=format)
|
||||||
endif()
|
endif()
|
||||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
add_library(tinyxml_objs_sanitized OBJECT ${srcs} ${hdrs})
|
add_library(tinyxml_objs_sanitized OBJECT EXCLUDE_FROM_ALL ${srcs} ${hdrs})
|
||||||
target_compile_options(tinyxml_objs_sanitized PRIVATE -fsanitize=address)
|
target_compile_options(tinyxml_objs_sanitized PRIVATE -fsanitize=address)
|
||||||
endif()
|
endif()
|
|
@ -38,6 +38,6 @@ endif()
|
||||||
|
|
||||||
add_library(lib_objs OBJECT ${srcs_lib} ${hdrs})
|
add_library(lib_objs OBJECT ${srcs_lib} ${hdrs})
|
||||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
add_library(lib_objs_sanitized OBJECT ${srcs_lib} ${hdrs})
|
add_library(lib_objs_sanitized OBJECT EXCLUDE_FROM_ALL ${srcs_lib} ${hdrs})
|
||||||
target_compile_options(lib_objs_sanitized PRIVATE -fsanitize=address)
|
target_compile_options(lib_objs_sanitized PRIVATE -fsanitize=address)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue