From e5d35d6b643dbb8ecbd3ece2a0d84ec93cadbfc1 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 23 Apr 2022 22:02:06 +0200 Subject: First contact --- ctor.cc | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 ctor.cc (limited to 'ctor.cc') diff --git a/ctor.cc b/ctor.cc new file mode 100644 index 0000000..a00b2fb --- /dev/null +++ b/ctor.cc @@ -0,0 +1,39 @@ +// -*- c++ -*- +#include + +namespace +{ +BuildConfigurations myConfigs() +{ + return + { + { + .target = "qookie", // output filename + .sources = { + "src/qookie.cc", + "src/database.cc", + "src/mainwindow.cc", + "src/moc_mainwindow.cc", + }, + .flags = { + .cxxflags = { + "-I/usr/include/qt5", + "-I/usr/include/qt5/QtCore", + "-I/usr/include/qt5/QtGui", + "-I/usr/include/qt5/QtWidgets", + "-fPIC", + }, + .ldflags = { + "-lQt5Core", + "-lQt5Gui", + "-lQt5Widgets", + "-lsqlite3", + } + }, + } + }; +} +} + +// Register callback +REG(myConfigs); -- cgit v1.2.3