Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PI2
PI2 View
Commits
d7e8027f
Commit
d7e8027f
authored
Jan 07, 2019
by
Martin Kröning
🦀
Browse files
Ignore unknown pragmas as global argument
Setting this as default option does not work with meson 0.45.1
parent
1503e93b
Changes
1
Hide whitespace changes
Inline
Side-by-side
meson.build
View file @
d7e8027f
...
...
@@ -2,9 +2,11 @@ project('pi2-view', ['cpp', 'c'],
license
:
'LGPL3'
,
meson_version
:
'>=0.45.1'
,
version
:
'0.1'
,
default_options
:
[
'warning_level=3'
,
'cpp_args=-Wno-unknown-pragmas'
,
'werror=true'
,
'cpp_std=c++17'
,
'c_std=c11'
]
default_options
:
[
'warning_level=3'
,
'werror=true'
,
'cpp_std=c++17'
,
'c_std=c11'
]
)
add_global_arguments
(
'-Wno-unknown-pragmas'
,
language
:
'cpp'
)
microsoft_gsl_proj
=
subproject
(
'microsoft-gsl'
)
microsoft_gsl_dep
=
microsoft_gsl_proj
.
get_variable
(
'microsoft_gsl_dep'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment