diff options
author | Masanori Kakura <kakurasan@gmail.com> | 2020-10-05 21:24:24 +0900 |
---|---|---|
committer | Jan <sentrycraft123@gmail.com> | 2020-10-05 17:12:38 +0200 |
commit | a65cd5add177b4a883b308dc3b9504e93abeeca7 (patch) | |
tree | a3a476409a303464166c756af233171614cbf9d2 /src | |
parent | d07122673c9c66b41cf311ff4c9d1abed49fc669 (diff) | |
download | polecat-a65cd5add177b4a883b308dc3b9504e93abeeca7.tar.gz polecat-a65cd5add177b4a883b308dc3b9504e93abeeca7.zip |
Use Meson build system
Diffstat (limited to 'src')
-rw-r--r-- | src/common.c | 2 | ||||
-rw-r--r-- | src/config.c | 2 | ||||
-rw-r--r-- | src/dxvk.c | 2 | ||||
-rw-r--r-- | src/lutris.c | 2 | ||||
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/meson.build | 28 | ||||
-rw-r--r-- | src/net.c | 2 | ||||
-rw-r--r-- | src/tar.c | 2 | ||||
-rw-r--r-- | src/wine.c | 2 |
9 files changed, 44 insertions, 0 deletions
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 <polecat-config.h> + #include <stdio.h> #include <string.h> #include <stdbool.h> 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 <polecat-config.h> + #include <string.h> #include <stdio.h> @@ -1,3 +1,5 @@ +#include <polecat-config.h> + #include <stdio.h> #include <string.h> #include <json.h> 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 <polecat-config.h> + #include <stdio.h> #include <string.h> #include <linux/limits.h> @@ -1,3 +1,5 @@ +#include <polecat-config.h> + #include <stdio.h> #include <string.h> #include <linux/limits.h> 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, +) @@ -1,3 +1,5 @@ +#include <polecat-config.h> + #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -1,3 +1,5 @@ +#include <polecat-config.h> + #include <stdio.h> #include <stdlib.h> #include <archive.h> @@ -1,3 +1,5 @@ +#include <polecat-config.h> + #include <stdlib.h> #include <stdio.h> #include <string.h> |