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@' ] ) subdir('about') 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/navigationbar.h', 'mainwindow/widgets/searchform.h', 'bookmarks/bookmarkswidget.h', 'bookmarks/editbookmarkdialog.h', 'session/savesessiondialog.h', 'session/sessiondialog.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', 'bookmarks/bookmarksform.ui', 'bookmarks/editbookmarkdialog.ui', 'session/savesessiondialog.ui', 'session/sessiondialog.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', 'bookmarks/builtins.cpp', 'bookmarks/bookmarkswidget.cpp', 'bookmarks/editbookmarkdialog.cpp', 'bookmarks/bookmarkstoolbar.cpp', 'session/savesessiondialog.cpp', 'session/sessiondialog.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' ), version_h, poi_settings_h ) poi_sourceset.add(when: [dep_breakpad, dep_threads], if_true: files('crashhandler.cpp'), if_false: files('crashhandler_dummy.cpp') )