File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -176,14 +176,6 @@ if (LINUX)
176
176
-lm
177
177
)
178
178
endif ()
179
-
180
- if (CMAKE_BUILD_TYPE MATCHES "RelWithDebInfo" )
181
- if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" )
182
- add_compile_options (--analyze )
183
- elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
184
- add_compile_options (-fanalyzer )
185
- endif ()
186
- endif ()
187
179
endif (LINUX )
188
180
189
181
if (DARWIN )
@@ -207,10 +199,6 @@ if (DARWIN)
207
199
# required for clang-15/xcode-15 since our boost package still uses deprecated std::unary_function/binary_function
208
200
# see https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#C++-Standard-Library
209
201
add_compile_definitions (_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION )
210
-
211
- if (CMAKE_BUILD_TYPE MATCHES "RelWithDebInfo" )
212
- add_compile_options (--analyze )
213
- endif ()
214
202
endif (DARWIN )
215
203
216
204
if (LINUX OR DARWIN )
@@ -226,8 +214,4 @@ if(LINUX OR DARWIN)
226
214
227
215
add_compile_options (${GCC_WARNINGS} )
228
216
add_compile_options (-m${ADDRESS_SIZE} )
229
-
230
- if (CMAKE_BUILD_TYPE MATCHES "RelWithDebInfo" )
231
- add_compile_options (-fno-omit-frame-pointer -fsanitize=undefined -fsanitize=bounds )
232
- endif ()
233
217
endif (LINUX OR DARWIN )
You can’t perform that action at this time.
0 commit comments