Init branch #1

Open
allanger wants to merge 6 commits from init-something into main
3 changed files with 15 additions and 4 deletions
Showing only changes of commit 4f0c4cf4f6 - Show all commits

View File

@@ -12,6 +12,14 @@ class daw_projectConan(ConanFile):
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):
self.folders.build = "build"
self.folders.generators = "build/scripts"

View File

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

View File

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