From e87693c54ca97ed3a6ed25f9eaae8ab223fc18b1 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 29 Apr 2020 18:49:07 +0300 Subject: libwebengine Make src/webengine into a static library - Add some tests - Updated manpage - Remove WebProfileManager::id and WebProfileManager::instance - Add consumable semantics checks to WebProfileManager - Add WebProfileManager::walk Add ApplicationMenu class --- meson.build | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index adee6c2..3cf7105 100644 --- a/meson.build +++ b/meson.build @@ -31,14 +31,18 @@ add_project_arguments(cxx.get_supported_arguments([ '-ffunction-sections', # Place each function into its own section, better ASLR but larger executables '-fstack-protector-all', # Emit code to check for buffer overflows on all functions '-fstack-clash-protection', # Emit code to check for stack clash attacks - '-fconcepts', - '-mspeculative-load-hardening', # Spectre v1 mitigation + # gcc specific + '-fconcepts', # gcc9 c++20 compat - '-Wconsumed', # (clang) use-after-move warnings - '-Wdate-time', # Warn when using __TIME__ and __DATE__ macros - '-Wimplicit-fallthrough', - '-Wold-style-cast' + # clang specific + '-mspeculative-load-hardening', # Spectre v1 mitigation + '-Wconsumed', # use-after-move warnings + '-Xclang -plugin-arg-clazy -Xclang level0,level1', # clazy default warning level + + '-Wdate-time', # __TIME__ and __DATE__ macros + '-Wimplicit-fallthrough', # switch implicit fallthrough + '-Wold-style-cast' # c-style casts ]), language: 'cpp') if get_option('buildtype') == 'release' @@ -49,7 +53,7 @@ endif mod_qt5 = import('qt5') dep_qt5 = dependency('qt5', - modules: [ 'Core', 'Network', 'Widgets', 'Svg', 'WebEngineWidgets', 'Concurrent', 'Test' ], + modules: [ 'Core', 'Network', 'Widgets', 'Svg', 'WebEngine', 'WebEngineWidgets', 'Concurrent' ], include_type: 'system' ) -- cgit v1.2.1