python = import('python') python3 = python.find_installation('python3') poi_settings_h = custom_target('default_config_value', input: files('../scripts/gen-default-cfg.py', '../Kconfig', '..'/host_machine.system()/'.config', 'settings.h.in'), output: 'settings.h', command: [ python3, '@INPUT0@', '--kconfig=@INPUT1@', '--dotconfig=@INPUT2@', '--input=@INPUT3@', '--output=@OUTPUT@' ] ) poi_sourceset.add(mod_qt5.preprocess( moc_headers: ['browser.h', 'mainwindow/mainwindow.h', 'mainwindow/addressbar.h', 'mainwindow/menubar.h', 'mainwindow/widgets/completer.h', 'mainwindow/widgets/urllineedit.h', 'mainwindow/widgets/dockwidget.h', 'mainwindow/widgets/menusearch.h', 'mainwindow/widgets/navigationbar.h', 'mainwindow/widgets/searchform.h', 'session/savesessiondialog.h', 'session/sessiondialog.h', 'session/sessionform.h', 'subwindow/subwindow.h', 'subwindow/tabwidget.h', 'webengine/urlinterceptor.h', 'webengine/webpage.h', 'webengine/webview.h', 'webengine/webprofilemanager.h', 'webengine/webprofile.h'], ui_files: ['mainwindow/addressbar.ui', 'mainwindow/widgets/searchform.ui', 'session/savesessiondialog.ui', 'session/sessiondialog.ui', 'session/sessionform.ui'], qresources: '../data/resources.qrc', rcc_extra_arguments: ['--format-version=1'], dependencies: dep_qt5 )) poi_sourceset.add(files( 'main.cpp', 'builtins.cpp', 'browser.cpp', 'util.cpp', 'util.h', 'mainwindow/mainwindow.cpp', 'mainwindow/addressbar.cpp', 'mainwindow/menubar.cpp', 'mainwindow/widgets/completer.cpp', 'mainwindow/widgets/urllineedit.cpp', 'mainwindow/widgets/dockwidget.cpp', 'mainwindow/widgets/menusearch.cpp', 'mainwindow/widgets/navigationbar.cpp', 'mainwindow/widgets/searchform.cpp', 'session/session.cpp', 'session/savesessiondialog.cpp', 'session/sessiondialog.cpp', 'session/sessionform.cpp', 'subwindow/subwindow.cpp', 'subwindow/tabwidget.cpp', 'webengine/urlinterceptor.cpp', 'webengine/webpage.cpp', 'webengine/webview.cpp', 'webengine/webviewcontextmenu.cpp', 'webengine/webprofile.cpp', 'webengine/webprofilemanager.cpp', 'wallet/wallet.cpp', 'wallet/wallet.h' ), interfaces_moc, version_h, poi_settings_h ) poi_sourceset.add(when: [dep_breakpad, dep_threads], if_true: files('crashhandler.cpp'))