From 3b552ec17d76788834220481b5462ecbc2916fcb Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Tue, 10 Oct 2017 19:43:50 +0100 Subject: [PATCH] Begin meson conversion.. Not yet building anything Signed-off-by: Ikey Doherty --- .gitignore | 3 +++ meson.build | 36 ++++++++++++++++++++++++++++++++++++ src/intercept/meson.build | 1 + src/meson.build | 1 + 4 files changed, 41 insertions(+) create mode 100644 meson.build create mode 100644 src/intercept/meson.build create mode 100644 src/meson.build diff --git a/.gitignore b/.gitignore index 6f50137..3d5856a 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,6 @@ m4/*.m4 /steam /lsi-steam /lsi-settings + + +/build/ diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..c615af6 --- /dev/null +++ b/meson.build @@ -0,0 +1,36 @@ +project( + 'linux-steam-integration', + ['c'], + version: '0.3', + license: [ + 'LGPL-2.1', + ], + default_options: [ + 'c_std=c99', + ], +) + + +am_cflags = [ + '-fstack-protector', + '-pedantic', + '-Wstrict-prototypes', + '-Wundef', + '-fno-common', + '-Werror-implicit-function-declaration', + '-Wformat', + '-Wformat-security', + '-Werror=format-security', + '-Wno-conversion', + '-Wunused-variable', + '-Wunreachable-code', + '-Wall', + '-W', + '-D_FORTIFY_SOURCE=2', +] + +add_global_arguments(am_cflags, language: 'c') + +dep_gtk3 = dependency('gtk+-3.0', version: '>= 3.4.0') + +subdir('src') diff --git a/src/intercept/meson.build b/src/intercept/meson.build new file mode 100644 index 0000000..317aa91 --- /dev/null +++ b/src/intercept/meson.build @@ -0,0 +1 @@ +# We do nothing yet.. diff --git a/src/meson.build b/src/meson.build new file mode 100644 index 0000000..a68883f --- /dev/null +++ b/src/meson.build @@ -0,0 +1 @@ +subdir('intercept')