diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2020-10-11 18:17:01 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2020-10-11 18:17:01 +0200 |
commit | 7d4e2f33a619b1f46a8f2ba00afa22edca6579e8 (patch) | |
tree | c4af21c3d2c727929d9489b3c931cc4b64898bf2 /src | |
parent | 26b0417ced82ad849e08db8e8aed0d5529c2b433 (diff) | |
download | polecat-7d4e2f33a619b1f46a8f2ba00afa22edca6579e8.tar.gz polecat-7d4e2f33a619b1f46a8f2ba00afa22edca6579e8.zip |
replace meson with cmake
meson is nice but its completly foreign to me and leaves targets to compile to (e.g Makefile)
might revisit in the future but now right now
Diffstat (limited to 'src')
-rw-r--r-- | src/common.c | 1 | ||||
-rw-r--r-- | src/config.c | 1 | ||||
-rw-r--r-- | src/dxvk.c | 3 | ||||
-rw-r--r-- | src/lutris.c | 1 | ||||
-rw-r--r-- | src/lutris.h | 2 | ||||
-rw-r--r-- | src/main.c | 1 | ||||
-rw-r--r-- | src/meson.build | 28 | ||||
-rw-r--r-- | src/net.c | 3 | ||||
-rw-r--r-- | src/net.h | 2 | ||||
-rw-r--r-- | src/tar.c | 1 | ||||
-rw-r--r-- | src/wine.c | 3 |
11 files changed, 5 insertions, 41 deletions
diff --git a/src/common.c b/src/common.c index c2691fe..352a706 100644 --- a/src/common.c +++ b/src/common.c @@ -1,4 +1,3 @@ -#include <polecat-config.h> #include <stdio.h> #include <string.h> diff --git a/src/config.c b/src/config.c index 26c775a..0126646 100644 --- a/src/config.c +++ b/src/config.c @@ -1,4 +1,3 @@ -#include <polecat-config.h> #include <string.h> #include <stdio.h> @@ -1,8 +1,7 @@ -#include <polecat-config.h> #include <stdio.h> #include <string.h> -#include <json.h> +#include <json-c/json.h> #include <libgen.h> #include <linux/limits.h> diff --git a/src/lutris.c b/src/lutris.c index b06ce40..aa3e085 100644 --- a/src/lutris.c +++ b/src/lutris.c @@ -1,4 +1,3 @@ -#include <polecat-config.h> #include <stdio.h> #include <string.h> diff --git a/src/lutris.h b/src/lutris.h index f3f648d..f3db00f 100644 --- a/src/lutris.h +++ b/src/lutris.h @@ -1,7 +1,7 @@ #ifndef LUTRIS_H #define LUTRIS_H -#include <json.h> +#include <json-c/json.h> enum keyword { MOVE = 0, @@ -1,4 +1,3 @@ -#include <polecat-config.h> #include <stdio.h> #include <string.h> diff --git a/src/meson.build b/src/meson.build deleted file mode 100644 index 06aae89..0000000 --- a/src/meson.build +++ /dev/null @@ -1,28 +0,0 @@ -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,11 +1,10 @@ -#include <polecat-config.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdint.h> #include <curl/curl.h> -#include <json.h> +#include <json-c/json.h> #include "net.h" #include "common.h" @@ -1,7 +1,7 @@ #ifndef NET_H #define NET_H -#include <json.h> +#include <json-c/json.h> size_t WriteMemoryCallback(void*, size_t, size_t, void*); struct MemoryStruct* downloadToRam(const char* URL); @@ -1,4 +1,3 @@ -#include <polecat-config.h> #include <stdio.h> #include <stdlib.h> @@ -1,9 +1,8 @@ -#include <polecat-config.h> #include <stdlib.h> #include <stdio.h> #include <string.h> -#include <json.h> +#include <json-c/json.h> #include <libgen.h> #include <unistd.h> #include <linux/limits.h> |