CMakeLists.txt 1.51 KB
Newer Older
1
set(contactprintthemeeditor_SRCS
Laurent Montel's avatar
indent    
Laurent Montel committed
2
3
4
5
6
7
8
9
10
11
12
13
    main.cpp
    defaultcompletion.cpp
    editorpage.cpp
    contactprintthemeconfiguredialog.cpp
    themedefaulttemplate.cpp
    themeeditormainwindow.cpp
    themeeditorpage.cpp
    contactprintthemeeditorutil.cpp
    themeeditorwidget.cpp
    themetemplatewidget.cpp
    contactprintthemepreview.cpp
    )
14

Laurent Montel's avatar
Laurent Montel committed
15
16
17
18
19
20
21
22
23
if (ECM_VERSION VERSION_LESS "5.68.0")
    ecm_qt_declare_logging_category(contactprintthemeeditor_SRCS HEADER contactprintthemeeditor_debug.h IDENTIFIER CONTACTPRINTTHEMEEDITOR_LOG CATEGORY_NAME org.kde.pim.contactprintthemeeditor)
else()
    ecm_qt_declare_logging_category(contactprintthemeeditor_SRCS HEADER contactprintthemeeditor_debug.h IDENTIFIER CONTACTPRINTTHEMEEDITOR_LOG CATEGORY_NAME org.kde.pim.contactprintthemeeditor
        DESCRIPTION "grantleeeditor (contactprintthemeeditor)"
        OLD_CATEGORY_NAMES log_contactprintthemeeditor
        EXPORT GRANTLEEEDITOR
    )
endif()
Laurent Montel's avatar
Laurent Montel committed
24
qt5_add_resources(contactprintthemeeditor_SRCS contactprintthemeeditor.qrc)
25
26

add_executable(contactprintthemeeditor ${contactprintthemeeditor_SRCS} )
27
target_link_libraries(contactprintthemeeditor
Laurent Montel's avatar
Laurent Montel committed
28
    Qt5::WebEngineWidgets
Laurent Montel's avatar
indent    
Laurent Montel committed
29
30
31
32
33
34
35
36
    KF5::DBusAddons
    KF5::NewStuff
    KF5::AkonadiContact
    KF5::PimCommon
    grantleethemeeditor
    KF5::KaddressbookGrantlee
    KF5::PimTextEdit
    KF5::I18n
37
    Qt5::WebEngineWidgets
Laurent Montel's avatar
Laurent Montel committed
38
    KF5::Crash
Laurent Montel's avatar
indent    
Laurent Montel committed
39
    )
40
41
42
43

install(TARGETS contactprintthemeeditor ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})

install(PROGRAMS org.kde.contactprintthemeeditor.desktop DESTINATION ${KDE_INSTALL_APPDIR})