From a65cd5add177b4a883b308dc3b9504e93abeeca7 Mon Sep 17 00:00:00 2001 From: Masanori Kakura Date: Mon, 5 Oct 2020 21:24:24 +0900 Subject: Use Meson build system --- src/common.c | 2 ++ src/config.c | 2 ++ src/dxvk.c | 2 ++ src/lutris.c | 2 ++ src/main.c | 2 ++ src/meson.build | 28 ++++++++++++++++++++++++++++ src/net.c | 2 ++ src/tar.c | 2 ++ src/wine.c | 2 ++ 9 files changed, 44 insertions(+) create mode 100644 src/meson.build (limited to 'src') diff --git a/src/common.c b/src/common.c index 6d687ee..c2691fe 100644 --- a/src/common.c +++ b/src/common.c @@ -1,3 +1,5 @@ +#include + #include #include #include diff --git a/src/config.c b/src/config.c index 4309d87..26c775a 100644 --- a/src/config.c +++ b/src/config.c @@ -1,3 +1,5 @@ +#include + #include #include diff --git a/src/dxvk.c b/src/dxvk.c index 3ef429c..da78851 100644 --- a/src/dxvk.c +++ b/src/dxvk.c @@ -1,3 +1,5 @@ +#include + #include #include #include diff --git a/src/lutris.c b/src/lutris.c index ec1f14d..b06ce40 100644 --- a/src/lutris.c +++ b/src/lutris.c @@ -1,3 +1,5 @@ +#include + #include #include #include diff --git a/src/main.c b/src/main.c index 9b506ca..78ad4fe 100644 --- a/src/main.c +++ b/src/main.c @@ -1,3 +1,5 @@ +#include + #include #include #include diff --git a/src/meson.build b/src/meson.build new file mode 100644 index 0000000..06aae89 --- /dev/null +++ b/src/meson.build @@ -0,0 +1,28 @@ +polecat_deps = [libarchive_dep, libcurl_dep, libjson_c_dep] + +polecat_sources = files( + 'common.c', + 'common.h', + 'config.c', + 'config.h', + 'dxvk.c', + 'dxvk.h', + 'lutris.c', + 'lutris.h', + 'main.c', + 'main.h', + 'net.c', + 'net.h', + 'tar.c', + 'tar.h', + 'wine.c', + 'wine.h', +) + +executable( + 'polecat', + polecat_sources, + dependencies : polecat_deps, + include_directories : conf_inc, + install : true, +) diff --git a/src/net.c b/src/net.c index cf0488f..1a9cbdd 100644 --- a/src/net.c +++ b/src/net.c @@ -1,3 +1,5 @@ +#include + #include #include #include diff --git a/src/tar.c b/src/tar.c index f7282e2..9e6d499 100644 --- a/src/tar.c +++ b/src/tar.c @@ -1,3 +1,5 @@ +#include + #include #include #include diff --git a/src/wine.c b/src/wine.c index ed428ef..687150c 100644 --- a/src/wine.c +++ b/src/wine.c @@ -1,3 +1,5 @@ +#include + #include #include #include -- cgit v1.2.3