remove meson
This commit is contained in:
parent
5c0c55108e
commit
9affcfdbcb
5 changed files with 0 additions and 81 deletions
|
@ -1,13 +0,0 @@
|
|||
boost = dependency('boost', modules: ['date_time'], static: true)
|
||||
xlnt = dependency('xlnt')
|
||||
sqlite = dependency('sqlite3')
|
||||
|
||||
src = ['database.cpp', 'entity.cpp', 'entityint.cpp', 'entityuuid.cpp',
|
||||
'seller.cpp', 'article.cpp', 'sale.cpp', 'marketplace.cpp',
|
||||
'excelreader.cpp', 'csvreader.cpp', 'jsonutil.cpp', 'utils.cpp']
|
||||
|
||||
core_inc = include_directories('..')
|
||||
|
||||
core_lib = static_library('core', src, dependencies: [boost, xlnt, sqlite, nlohmann_lib, csv_dep])
|
||||
|
||||
core_dep = declare_dependency(link_with: core_lib, include_directories : core_inc)
|
|
@ -1,23 +0,0 @@
|
|||
qt5 = import('qt5')
|
||||
qt5_dep = dependency('qt5', modules: ['Core', 'Gui', 'PrintSupport', 'Network'])
|
||||
|
||||
thread_dep = dependency('threads')
|
||||
|
||||
|
||||
src = ['kima2.cpp', 'mainwindow.cpp', 'sellerdialog.cpp', 'sellermodel.cpp',
|
||||
'pricedialog.cpp', 'basketmodel.cpp', 'salemodel.cpp', 'reportdialog.cpp',
|
||||
'reportmodel.cpp', 'settingsdialog.cpp']
|
||||
|
||||
ui = ['mainwindow.ui', 'sellerdialog.ui', 'pricedialog.ui', 'reportdialog.ui', 'settingsdialog.ui']
|
||||
|
||||
processed = qt5.preprocess(moc_headers : ['basketmodel.h', 'mainwindow.h', 'pricedialog.h',
|
||||
'reportdialog.h', 'sellerdialog.h', 'settingsdialog.h',
|
||||
'sellermodel.h', 'salemodel.h'],
|
||||
ui_files : ui,
|
||||
qresources : '../../kima2.qrc',
|
||||
dependencies: qt5_dep)
|
||||
|
||||
kima2 = executable('kima2', sources : [src, processed],
|
||||
dependencies : [qt5_dep, singleapp_dep, core_dep, printer_dep, thread_dep],
|
||||
include_directories : [configuration_inc],
|
||||
install : true)
|
|
@ -1,3 +0,0 @@
|
|||
subdir('core')
|
||||
subdir('printer')
|
||||
subdir('gui')
|
|
@ -1,9 +0,0 @@
|
|||
libusb = dependency('libusb-1.0')
|
||||
|
||||
src = ['posprinter.cpp', 'utils.cpp']
|
||||
|
||||
printer_inc = include_directories('..')
|
||||
|
||||
printer_lib = static_library('printer', src, dependencies: [libusb, core_dep])
|
||||
|
||||
printer_dep = declare_dependency(link_with : printer_lib, include_directories : printer_inc)
|
Loading…
Add table
Add a link
Reference in a new issue