Warning, /pim/grantlee-editor/grantleethemeeditor/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"libgrantleethemeeditor\")
0002 
0003 
0004 set(libgrantleethemeeditor_SRCS 
0005     newthemedialog.cpp
0006     themeeditortabwidget.cpp
0007     managethemes.cpp
0008     themesession.cpp
0009     editorwidget.cpp
0010     desktopfilepage.cpp
0011     editorpage.cpp
0012     previewwidget.cpp
0013     configurewidget.cpp
0014     grantleeplaintexteditor.cpp
0015     newthemedialog.h
0016     themeeditortabwidget.h
0017     managethemes.h
0018     themesession.h
0019     editorwidget.h
0020     desktopfilepage.h
0021     editorpage.h
0022     previewwidget.h
0023     configurewidget.h
0024     grantleeplaintexteditor.h
0025     )
0026 
0027 kconfig_add_kcfg_files(libgrantleethemeeditor_SRCS
0028     settings/globalsettings_base.kcfgc
0029     )
0030 
0031 ki18n_wrap_ui(libgrantleethemeeditor_SRCS
0032     ui/configurewidget.ui
0033     )
0034 
0035 ecm_qt_declare_logging_category(libgrantleethemeeditor_SRCS HEADER grantleethemeeditor_debug.h IDENTIFIER GRANTLEETHEMEEDITOR_LOG CATEGORY_NAME org.kde.pim.grantleethemeeditor
0036         DESCRIPTION "grantleeeditor (grantleethemeeditor)"
0037         OLD_CATEGORY_NAMES log_grantleethemeeditor
0038         EXPORT GRANTLEEEDITOR
0039     )
0040 
0041 
0042 add_library(grantleethemeeditor ${libgrantleethemeeditor_SRCS})
0043 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0044     set_target_properties(grantleethemeeditor PROPERTIES UNITY_BUILD ON)
0045 endif()
0046 
0047 generate_export_header(grantleethemeeditor BASE_NAME grantleethemeeditor)
0048 
0049 target_include_directories(grantleethemeeditor PUBLIC "$<BUILD_INTERFACE:${grantleeditor_SOURCE_DIR};${grantleethemeeditor_SOURCE_DIR};${grantleethemeeditor_BINAY_DIR}>")
0050 
0051 target_link_libraries(grantleethemeeditor
0052     PUBLIC
0053     KF6::Archive
0054     PRIVATE
0055     KF6::KIOWidgets
0056     KPim6::PimCommon
0057     KF6::I18n
0058     KF6::SyntaxHighlighting
0059     KF6::TextCustomEditor
0060     )
0061 
0062 install(FILES settings/grantleethemeeditor.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
0063 
0064 set_target_properties(grantleethemeeditor PROPERTIES VERSION ${KDEPIM_LIB_VERSION} SOVERSION ${KDEPIM_LIB_SOVERSION})
0065 install(TARGETS grantleethemeeditor ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}  LIBRARY NAMELINK_SKIP)