CMakeLists.txt 865 Bytes
Newer Older
1
2
set(wizard_SRCS
    main.cpp
3
    bluewizard.cpp
4
    wizardagent.cpp
5
    debug_p.cpp
6

David Rosca's avatar
David Rosca committed
7
8
    pages/discover.cpp
    pages/connect.cpp
9
    pages/pairing.cpp
10
    pages/fail.cpp
David Rosca's avatar
David Rosca committed
11
    pages/success.cpp
12
13
)

Lukáš Tinkl's avatar
Lukáš Tinkl committed
14
ki18n_wrap_ui(wizard_SRCS
15
            pages/discover.ui
David Rosca's avatar
David Rosca committed
16
            pages/connect.ui
17
            pages/pairing.ui
18
            pages/fail.ui
David Rosca's avatar
David Rosca committed
19
            pages/success.ui
20
)
21

David Rosca's avatar
David Rosca committed
22
add_executable(bluedevil-wizard ${wizard_SRCS})
23

24
target_link_libraries(bluedevil-wizard
25
26
27
28
29
    Qt5::Widgets
    Qt5::DBus
    KF5::I18n
    KF5::CoreAddons
    KF5::DBusAddons
30
    KF5::Notifications
31
32
    KF5::WidgetsAddons
    KF5::IconThemes
David Rosca's avatar
David Rosca committed
33
    KF5::BluezQt)
34

35
36
37
install(TARGETS bluedevil-wizard ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES org.kde.bluedevilwizard.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES pin-code-database.xml DESTINATION ${KDE_INSTALL_DATADIR}/bluedevilwizard)