aboutsummaryrefslogtreecommitdiff
path: root/subprojects/packagefiles/SingleApplication
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2024-04-26 22:24:19 +0300
committeraqua <aqua@iserlohn-fortress.net>2024-04-26 22:43:00 +0300
commitfabf1080b62a54c7ec2dc6da7709186c80cb20cd (patch)
tree3c2500f530790b660c6d71167e172e96308aee7e /subprojects/packagefiles/SingleApplication
parentUpdated PKGBUILD (diff)
downloadsmolbote-fabf1080b62a54c7ec2dc6da7709186c80cb20cd.tar.xz
Added cmakelists
Diffstat (limited to 'subprojects/packagefiles/SingleApplication')
-rw-r--r--subprojects/packagefiles/SingleApplication/meson.build38
-rw-r--r--subprojects/packagefiles/SingleApplication/meson_options.txt1
2 files changed, 0 insertions, 39 deletions
diff --git a/subprojects/packagefiles/SingleApplication/meson.build b/subprojects/packagefiles/SingleApplication/meson.build
deleted file mode 100644
index 4a583cd..0000000
--- a/subprojects/packagefiles/SingleApplication/meson.build
+++ /dev/null
@@ -1,38 +0,0 @@
-project('SingleApplication', ['cpp'],
- version: '3.5.1',
- default_options: ['cpp_std=c++2a', 'warning_level=3'],
- license: 'MIT',
-)
-
-mod_qt5 = import('qt6')
-dep_qt5 = dependency('qt6', modules: [ 'Core', 'Network', 'Gui', 'Widgets' ], include_type: 'system')
-
-SingleApplication_inc = include_directories('.')
-
-SingleApplication_moc = mod_qt5.preprocess(
- moc_headers: [ 'singleapplication.h', 'singleapplication_p.h'],
- moc_extra_arguments: ['-DQAPPLICATION_CLASS=QApplication'],
- dependencies: dep_qt5
-)
-
-SingleApplication_lib = static_library('SingleApplication',
- [ 'singleapplication.cpp', 'singleapplication_p.cpp', SingleApplication_moc ],
- include_directories: SingleApplication_inc,
- cpp_args: '-DQAPPLICATION_CLASS=QApplication',
- dependencies: dep_qt5
-)
-
-SingleApplication_dep = declare_dependency(
- include_directories: SingleApplication_inc,
- link_with: SingleApplication_lib
-).as_system('system')
-
-# On windows, SingleApplication needs to be linked against advapi32. This is
-# done by adding 'advapi32' to cpp_winlibs, where it should be by default.
-
-if get_option('examples')
- subdir('examples/basic')
- subdir('examples/calculator')
- subdir('examples/sending_arguments')
-endif
-
diff --git a/subprojects/packagefiles/SingleApplication/meson_options.txt b/subprojects/packagefiles/SingleApplication/meson_options.txt
deleted file mode 100644
index 21e68e0..0000000
--- a/subprojects/packagefiles/SingleApplication/meson_options.txt
+++ /dev/null
@@ -1 +0,0 @@
-option('examples', description: 'Build examples', type: 'boolean', value: false)