Some stuff

This commit is contained in:
2026-01-01 22:48:26 +01:00
parent 823abf84b4
commit 4f0c4cf4f6
3 changed files with 15 additions and 4 deletions

View File

@@ -12,6 +12,14 @@ class daw_projectConan(ConanFile):
exports_sources = "meson.build", "src/*" exports_sources = "meson.build", "src/*"
default_options = {
"qt/*:shared": True,
}
def requirements(self):
self.requires("conan-test-lib/0.0.2")
self.requires("qt/6.10.1")
def layout(self): def layout(self):
self.folders.build = "build" self.folders.build = "build"
self.folders.generators = "build/scripts" self.folders.generators = "build/scripts"

View File

@@ -2,11 +2,12 @@ project('daw-exp ', 'cpp')
qt_dep = dependency('qt6', modules: ['Core', 'Widgets']) qt_dep = dependency('qt6', modules: ['Core', 'Widgets'])
jack_dep = dependency('jack', required : true) jack_dep = dependency('jack', required : true)
test_dep = dependency('conan-test-lib', required: true)
executable('daw-project', 'src/engine/main.cpp', #executable('daw-project', 'src/engine/main.cpp',
dependencies: [jack_dep], # dependencies: [jack_dep, test_dep],
install: true) # install: true)
executable('daw-gui', 'src/gui/main.cpp', executable('daw-gui', 'src/gui/main.cpp',
dependencies: [qt_dep], dependencies: [qt_dep, test_dep],
install: true) install: true)

View File

@@ -1,9 +1,11 @@
#include <QApplication> #include <QApplication>
#include <QPushButton> #include <QPushButton>
#include "./control_panel.cpp" #include "./control_panel.cpp"
#include <conan-test-lib.h>
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
conan_test_lib();
QApplication app (argc, argv); QApplication app (argc, argv);
add_button(); add_button();