summaryrefslogtreecommitdiff
path: root/src/meson.build
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-06-19 23:17:58 +0200
committerHannes Schulze <haschu0103@outlook.de>2025-06-19 23:17:58 +0200
commit1af3d14f3f995645a0de08a54b244c19840709e9 (patch)
tree3c4098863d8a8fd004a2acc8912a23b6036ab4dd /src/meson.build
parent40efcf60a5f39674b5137f11de7bcfe37fb121b5 (diff)
init hs project
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build74
1 files changed, 0 insertions, 74 deletions
diff --git a/src/meson.build b/src/meson.build
deleted file mode 100644
index b9383fb..0000000
--- a/src/meson.build
+++ /dev/null
@@ -1,74 +0,0 @@
-foobar_sources = files(
- 'application.c',
- 'utils.c',
- 'panel.c',
- 'launcher.c',
- 'launcher-item.c',
- 'control-center.c',
- 'notification-area.c',
-)
-foobar_tests = {}
-
-subdir('dbus')
-subdir('services')
-subdir('widgets')
-
-c_args = [
- '-Wall',
- '-Werror',
- '-Wswitch-enum',
- '-Wswitch-default',
- '-Wunused',
- '-Wuninitialized',
-]
-
-deps = [
- glib_dep,
- gio_dep,
- gio_unix_dep,
- gtk_dep,
- json_dep,
- gmp_dep,
- nm_dep,
- m_dep,
- layershell_dep,
- gvc_dep,
-]
-
-libfoobar = static_library(
- meson.project_name(),
- foobar_sources,
- include_directories: include_directories('.'),
- dependencies: deps,
- install: false,
- c_args: c_args
-)
-
-libfoobar_dep = declare_dependency(
- link_with: libfoobar,
- include_directories: include_directories('.'),
- dependencies: deps,
-)
-
-executable(
- meson.project_name(),
- 'main.c',
- styles_resource,
- icons_resource,
- dependencies: [ libfoobar_dep ],
- install: true,
- c_args: c_args
-)
-
-if mutest_dep.found()
- foreach name, sources : foobar_tests
- test(
- name,
- executable(
- 'foobar-test-' + name,
- sources,
- dependencies: [ libfoobar_dep, mutest_dep ],
- ),
- )
- endforeach
-endif