Lines Matching +full:- +full:- +full:disable +full:- +full:zstd

10         'b_ndebug=if-release',
43 ['-fdata-sections', '-ffunction-sections'],
46 add_project_arguments('-DNDEBUG', language: 'cpp')
49 if (get_option('dns-resolver') == 'systemd-dbus')
50 add_project_arguments('-DBMCWEB_DBUS_DNS_RESOLVER', language: 'cpp')
53 # Disable lto when compiling with no optimization
55 add_project_arguments('-fno-lto', language: 'cpp')
63 'redfish-core/include',
64 'redfish-core/lib',
70 boost_flags = ['-Wno-unused-parameter']
74 error('This project requires clang-17 or higher')
77 '-Weverything',
78 '-Wformat=2',
79 # https://github.com/llvm/llvm-project/issues/101614
80 '-fno-builtin-std-forward_like',
81 '-Wno-c++20-extensions',
82 '-Wno-c++26-extensions',
83 '-Wno-c++98-compat',
84 '-Wno-c++98-compat-pedantic',
85 '-Wno-covered-switch-default',
86 '-Wno-disabled-macro-expansion',
87 '-Wno-documentation',
88 '-Wno-documentation-unknown-command',
89 '-Wno-exit-time-destructors',
90 '-Wno-global-constructors',
91 '-Wno-missing-include-dirs',
92 '-Wno-newline-eof',
93 '-Wno-padded',
94 '-Wno-shadow',
95 '-Wno-switch-enum',
96 '-Wno-unneeded-internal-declaration',
97 '-Wno-unsafe-buffer-usage-in-container',
98 '-Wno-unsafe-buffer-usage-in-libc-call',
99 '-Wno-unused-macros',
100 '-Wno-used-but-marked-unused',
101 '-Wno-weak-vtables',
107 '-Wno-unique-object-duplication',
108 '-Wno-nrvo',
113 boost_flags += ['-Wno-strict-prototypes', '-Wno-unused-but-set-variable']
114 nghttp2_flags += ['-Wno-extra-semi']
119 error('This project requires gcc-13 or higher')
123 '-Wformat=2',
124 '-Wcast-align',
125 '-Wconversion',
126 '-Woverloaded-virtual',
127 '-Wsign-conversion',
128 '-Wunused',
129 '-Wduplicated-cond',
130 '-Wduplicated-branches',
131 '-Wlogical-op',
132 '-Wnull-dereference',
133 '-Wunused-parameter',
134 '-Wdouble-promotion',
135 '-Wshadow',
136 '-Wno-psabi',
137 '-Wno-attributes',
150 '-fno-fat-lto-objects',
151 '-fvisibility=hidden',
152 '-fvisibility-inlines-hidden',
158 if cxx.has_link_argument('-Wl,--exclude-libs,ALL')
159 add_project_link_arguments('-Wl,--exclude-libs,ALL', language: 'cpp')
166 '-fstack-protector-strong',
167 '-fPIE',
168 '-fPIC',
169 '-D_FORTIFY_SOURCE=2',
170 '-Wformat',
171 '-Wformat-security',
189 '-DBOOST_ALL_NO_LIB',
190 '-DBOOST_ALLOW_DEPRECATED_HEADERS',
191 '-DBOOST_ASIO_DISABLE_THREADS',
192 '-DBOOST_ASIO_NO_DEPRECATED',
193 '-DBOOST_ASIO_SEPARATE_COMPILATION',
194 '-DBOOST_BEAST_SEPARATE_COMPILATION',
195 '-DBOOST_EXCEPTION_DISABLE',
196 '-DBOOST_NO_EXCEPTIONS',
197 '-DBOOST_URL_NO_SOURCE_LOCATION',
198 '-DBOOST_SPIRIT_X3_NO_RTTI',
199 '-DJSON_NOEXCEPTION',
200 '-DJSON_NO_IO',
201 '-DJSON_USE_IMPLICIT_CONVERSIONS=0',
202 '-DOPENSSL_NO_FILENAMES',
203 '-DSDBUSPLUS_DISABLE_BOOST_COROUTINES',
229 zstd = dependency('libzstd', required: get_option('http-zstd').allowed()) variable
230 if zstd.found()
231 add_project_arguments('-DHAVE_ZSTD', language: 'cpp')
232 bmcweb_dependencies += [zstd]
278 '-DLIBSYSTEMD_VERSION=' + libsystemd.version(),
360 subdir('redfish-core')
377 'redfish-core/src/dbus_log_watcher.cpp',
378 'redfish-core/src/error_message_utils.cpp',
379 'redfish-core/src/error_messages.cpp',
380 'redfish-core/src/event_log.cpp',
381 'redfish-core/src/filesystem_log_watcher.cpp',
382 'redfish-core/src/filter_expr_executor.cpp',
383 'redfish-core/src/filter_expr_printer.cpp',
384 'redfish-core/src/heartbeat_messages.cpp',
385 'redfish-core/src/redfish.cpp',
386 'redfish-core/src/registries.cpp',
387 'redfish-core/src/resource_messages.cpp',
388 'redfish-core/src/subscription.cpp',
389 'redfish-core/src/task_messages.cpp',
390 'redfish-core/src/update_messages.cpp',
391 'redfish-core/src/utils/dbus_utils.cpp',
392 'redfish-core/src/utils/json_utils.cpp',
393 'redfish-core/src/utils/time_utils.cpp',
420 link_args: '-Wl,--gc-sections',