blob: 8adb1aa001f4f2d5bc0a106782856d5e0175f2b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
add_executable(poi
# main
main.cpp
singleapplication.cpp
singleapplication.h
browser.cpp
browser.h
commandline.cpp
commandline.h
../data/resources.qrc
# main window
mainwindow/mainwindow.cpp
mainwindow/mainwindow.h
mainwindow/window.cpp
mainwindow/window.h
#mainwindow/widgets/loadingbar.cpp
#mainwindow/widgets/loadingbar.h
mainwindow/widgets/navigationbar.cpp
mainwindow/widgets/navigationbar.h
#mainwindow/widgets/searchform.cpp
#mainwindow/widgets/searchform.h
#mainwindow/widgets/searchform.ui
mainwindow/widgets/tabwidget.cpp
mainwindow/widgets/tabwidget.h
# address bar
addressbar/completer.cpp
addressbar/completer.h
addressbar/urllineedit.cpp
addressbar/urllineedit.h
# webengine
webengine/urlinterceptor.cpp
webengine/urlinterceptor.h
webengine/webprofile.cpp
webengine/webprofile.h
webengine/webpage.cpp
webengine/webpage.h
webengine/webview.cpp
webengine/webview.h
webengine/widgets/pagetoolsmenu.cpp
webengine/widgets/pagetoolsmenu.h
webengine/widgets/pagemenu.cpp
webengine/widgets/pagemenu.h
# plugin interfaces
#../plugins/interfaces.h
)
target_include_directories(poi
PRIVATE ../lib ../plugins
PRIVATE ../lib/configuration)
target_link_libraries(poi
Qt5::Core Qt5::Widgets Qt5::Concurrent Qt5::WebEngineWidgets
about
configuration
bookmarks downloads)
install(TARGETS poi RUNTIME DESTINATION bin CONFIGURATIONS Release)
|