aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
blob: 902fe6ff3d2bcc665925b9553272e24d25f47ca8 (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
add_subdirectory(autogen)
add_subdirectory(about)
add_subdirectory(cmd)
add_subdirectory(webengine)

add_executable(poi
    bookmarks/builtin.cpp
    bookmarks/bookmarkswidget.h bookmarks/bookmarkswidget.cpp bookmarks/bookmarksform.ui
    bookmarks/bookmarkstoolbar.h bookmarks/bookmarkstoolbar.cpp
    bookmarks/editbookmarkdialog.h bookmarks/editbookmarkdialog.cpp bookmarks/editbookmarkdialog.ui

    cmd/cmd.hpp
    configuration/builtin.cpp

    mainwindow/widgets/completer.h mainwindow/widgets/completer.cpp
    mainwindow/widgets/dockwidget.h mainwindow/widgets/dockwidget.cpp
    mainwindow/widgets/menusearch.h mainwindow/widgets/menusearch.cpp
    mainwindow/widgets/navigationbar.h mainwindow/widgets/navigationbar.cpp
    mainwindow/widgets/searchform.h mainwindow/widgets/searchform.cpp mainwindow/widgets/searchform.ui
    mainwindow/widgets/urllineedit.h mainwindow/widgets/urllineedit.cpp
    mainwindow/addressbar.h mainwindow/addressbar.cpp mainwindow/addressbar.ui
    mainwindow/mainwindow.h mainwindow/mainwindow.cpp
    mainwindow/menubar.h mainwindow/menubar.cpp

    session/builtin.cpp
    session/savesessiondialog.h session/savesessiondialog.cpp session/savesessiondialog.ui
    session/sessiondialog.h session/sessiondialog.cpp session/sessiondialog.ui

    subwindow/subwindow.h subwindow/subwindow.cpp
    subwindow/tabwidget.h subwindow/tabwidget.cpp

    main.cpp
    applicationmenu.h applicationmenu.cpp
    browser.h browser.cpp)

target_link_libraries(poi PRIVATE Qt5::Widgets Qt5::WebEngineWidgets Qt5::Svg
    SingleApplication::SingleApplication fmt spdlog
    autogen about_dialog about_plugin webengine
    bookmarks configuration downloads pluginloader session_formats smolblok)

target_include_directories(poi PRIVATE . ${CMAKE_SOURCE_DIR}/include ${CMAKE_CURRENT_BINARY_DIR})
install(TARGETS poi DESTINATION bin)