summaryrefslogtreecommitdiff
path: root/examples/meson.build
diff options
context:
space:
mode:
authorkotontrion <[email protected]>2024-05-19 12:04:34 +0200
committerkotontrion <[email protected]>2024-05-19 12:04:34 +0200
commitd8802b1fa2c586d05c73e53fb541e1ef482a527e (patch)
tree0196108ca63c7e5b7b3a23296aa4508f916b536e /examples/meson.build
parent3fc76b2f36e1bdebf2bd7a91af5469aff18ce852 (diff)
init 0.1.0
Diffstat (limited to 'examples/meson.build')
-rw-r--r--examples/meson.build24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/meson.build b/examples/meson.build
new file mode 100644
index 0000000..b02ed55
--- /dev/null
+++ b/examples/meson.build
@@ -0,0 +1,24 @@
+astal_auth = declare_dependency(
+ link_with : astal_auth_lib,
+ include_directories : astal_auth_inc)
+
+
+deps_example = [
+ dependency('gobject-2.0'),
+ dependency('libbsd'),
+ astal_auth
+]
+
+astal_auth_full_exmple = executable(
+ 'astal_auth_full_example',
+ files('full_example.c'),
+ build_by_default : get_option('examples'),
+ dependencies : deps_example,
+ install : false)
+
+astal_auth_simple_example = executable(
+ 'astal_auth_simple_example',
+ files('simple_example.c'),
+ build_by_default : get_option('examples'),
+ dependencies : deps_example,
+ install : false)