diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-04-23 22:02:06 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-05-26 18:41:20 +0200 |
commit | e5d35d6b643dbb8ecbd3ece2a0d84ec93cadbfc1 (patch) | |
tree | cedeebe12a5062e1c7d4c644a54297203e29e59e /ctor.cc | |
parent | 54860b9c436f31cce71afd180e03b4bf93512b58 (diff) |
First contact
Diffstat (limited to 'ctor.cc')
-rw-r--r-- | ctor.cc | 39 |
1 files changed, 39 insertions, 0 deletions
@@ -0,0 +1,39 @@ +// -*- c++ -*- +#include <libctor.h> + +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); |