aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2023-12-24 04:26:00 -0600
committerLibravatar bigfoot547 <[email protected]>2023-12-24 04:26:00 -0600
commit20d9fc5b5356a1054cb104ba6651b77184abf0db (patch)
tree5f115d8051dad73069d3a632a6f2c260cf7efdac /meson.build
initial commit
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..073c348
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,12 @@
+project('l2su', 'c')
+
+curl_dep = dependency('libcurl')
+jansson_dep = dependency('jansson')
+
+config_data = configuration_data()
+
+config_data.set_quoted('PROJECT_NAME', 'l2su')
+config_data.set_quoted('PROJECT_NAME_UPPER', 'L2SU')
+
+subdir('src')
+executable('l2su', launcher_srcs, dependencies : [curl_dep, jansson_dep], include_directories : [config_include_dir], override_options : {'c_std': 'c99'})