Init branch #1
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user