[gnome-builder/wip/gtk4-port: 1411/1774] plugins/meson-templates: cleanup default_options line
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1411/1774] plugins/meson-templates: cleanup default_options line
- Date: Mon, 11 Jul 2022 22:31:44 +0000 (UTC)
commit 08bf2c47bdab444b404c26ecdffe59807b3a7af8
Author: Christian Hergert <chergert redhat com>
Date: Tue Jun 7 20:31:10 2022 -0700
plugins/meson-templates: cleanup default_options line
src/plugins/meson-templates/resources/meson.build | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/src/plugins/meson-templates/resources/meson.build
b/src/plugins/meson-templates/resources/meson.build
index b30a83a11..507434a70 100644
--- a/src/plugins/meson-templates/resources/meson.build
+++ b/src/plugins/meson-templates/resources/meson.build
@@ -2,15 +2,7 @@ project('{{name}}',{{if language == "c"}} 'c',{{else if language == "c++"}} ['cp
version: '{{project_version}}',
meson_version: '>= 0.59.0',
- default_options: [ 'warning_level=2',
- 'werror=false',
-{{if language == "c"}}
- 'c_std=gnu11',
-{{end}}
-{{if language == "c++"}}
- 'cpp_std=gnu++2a',
-{{end}}
- ],
+ default_options: [ 'warning_level=2', 'werror=false',{{if language == "c"}} 'c_std=gnu11',{{else if
language == "c++"}} 'cpp_std=gnu++2a',{{end}} ],
)
{{if enable_i18n}}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]