CMakeLists.txt 1.32 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
    main.cpp
    defaultcompletion.cpp
    editorpage.cpp
    contactprintthemeconfiguredialog.cpp
    themedefaulttemplate.cpp
    themeeditormainwindow.cpp
    themeeditorpage.cpp
    contactprintthemeeditorutil.cpp
    themeeditorwidget.cpp
    themetemplatewidget.cpp
    contactprintthemepreview.cpp
Laurent Montel's avatar
Laurent Montel committed
13
    contactprintthemeeditor.qrc
Laurent Montel's avatar
indent  
Laurent Montel committed
14
    )
15

16
ecm_qt_declare_logging_category(contactprintthemeeditor_SRCS HEADER contactprintthemeeditor_debug.h IDENTIFIER CONTACTPRINTTHEMEEDITOR_LOG CATEGORY_NAME org.kde.pim.contactprintthemeeditor
Laurent Montel's avatar
Laurent Montel committed
17 18 19 20
        DESCRIPTION "grantleeeditor (contactprintthemeeditor)"
        OLD_CATEGORY_NAMES log_contactprintthemeeditor
        EXPORT GRANTLEEEDITOR
    )
21
add_executable(contactprintthemeeditor ${contactprintthemeeditor_SRCS} )
22 23 24 25
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
    set_target_properties(contactprintthemeeditor PROPERTIES UNITY_BUILD ON)
endif()

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

install(TARGETS contactprintthemeeditor ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})

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