Skip to content

Commit aaffd1f

Browse files
authored
some cleanups (#2601)
* exclude the *_sanitized fuzz-client dependencies from all as well * .gitignore: added CMake output folders and removed a duplicated entry
1 parent 8e9d729 commit aaffd1f

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ htmlreport/.tox/
8080
htmlreport/MANIFEST
8181

8282
# Backup files and stuff from patches
83-
*.orig
8483
*.rej
8584
*~
8685

@@ -108,3 +107,4 @@ man/manual.tex
108107
# CLion
109108
.idea
110109
/.metadata/
110+
cmake-*

externals/simplecpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ file(GLOB srcs "*.cpp")
33

44
add_library(simplecpp_objs OBJECT ${srcs} ${hdrs})
55
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
6-
add_library(simplecpp_objs_sanitized OBJECT ${srcs} ${hdrs})
6+
add_library(simplecpp_objs_sanitized OBJECT EXCLUDE_FROM_ALL ${srcs} ${hdrs})
77
target_compile_options(simplecpp_objs_sanitized PRIVATE -fsanitize=address)
88
endif()
99

externals/tinyxml/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
77
target_compile_options(tinyxml_objs PRIVATE -Wno-suggest-attribute=format)
88
endif()
99
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
10-
add_library(tinyxml_objs_sanitized OBJECT ${srcs} ${hdrs})
10+
add_library(tinyxml_objs_sanitized OBJECT EXCLUDE_FROM_ALL ${srcs} ${hdrs})
1111
target_compile_options(tinyxml_objs_sanitized PRIVATE -fsanitize=address)
1212
endif()

lib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ endif()
3838

3939
add_library(lib_objs OBJECT ${srcs_lib} ${hdrs})
4040
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
41-
add_library(lib_objs_sanitized OBJECT ${srcs_lib} ${hdrs})
41+
add_library(lib_objs_sanitized OBJECT EXCLUDE_FROM_ALL ${srcs_lib} ${hdrs})
4242
target_compile_options(lib_objs_sanitized PRIVATE -fsanitize=address)
4343
endif()

0 commit comments

Comments
 (0)