Some stuff
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user