Warning, /graphics/digikam/core/dplugins/generic/tools/htmlgallery/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # 0002 # SPDX-FileCopyrightText: 2010-2024, Gilles Caulier, <caulier dot gilles at gmail dot com> 0003 # 0004 # SPDX-License-Identifier: BSD-3-Clause 0005 # 0006 0007 APPLY_COMMON_POLICIES() 0008 0009 include(MacroDPlugins) 0010 0011 include_directories($<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Widgets,INTERFACE_INCLUDE_DIRECTORIES> 0012 $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Core,INTERFACE_INCLUDE_DIRECTORIES> 0013 $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Concurrent,INTERFACE_INCLUDE_DIRECTORIES> 0014 0015 $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::I18n,INTERFACE_INCLUDE_DIRECTORIES> 0016 $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::ConfigCore,INTERFACE_INCLUDE_DIRECTORIES> 0017 $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::ConfigWidgets,INTERFACE_INCLUDE_DIRECTORIES> 0018 $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::Service,INTERFACE_INCLUDE_DIRECTORIES> 0019 0020 ${CMAKE_CURRENT_SOURCE_DIR}/generator 0021 ${CMAKE_CURRENT_SOURCE_DIR}/parameters 0022 ${CMAKE_CURRENT_SOURCE_DIR}/wizard 0023 ) 0024 0025 if(NOT APPLE) 0026 0027 include_directories(${LIBXSLT_INCLUDE_DIR} 0028 ${LIBXML2_INCLUDE_DIR} 0029 ) 0030 0031 add_definitions(${LIBXSLT_DEFINITIONS} 0032 ${LIBXML2_DEFINITIONS} 0033 ) 0034 0035 endif() 0036 0037 set(htmlgalleryplugin_SRCS 0038 ${CMAKE_CURRENT_SOURCE_DIR}/parameters/abstractthemeparameter.cpp 0039 ${CMAKE_CURRENT_SOURCE_DIR}/parameters/intthemeparameter.cpp 0040 ${CMAKE_CURRENT_SOURCE_DIR}/parameters/listthemeparameter.cpp 0041 ${CMAKE_CURRENT_SOURCE_DIR}/parameters/captionthemeparameter.cpp 0042 ${CMAKE_CURRENT_SOURCE_DIR}/parameters/stringthemeparameter.cpp 0043 ${CMAKE_CURRENT_SOURCE_DIR}/parameters/colorthemeparameter.cpp 0044 0045 ${CMAKE_CURRENT_SOURCE_DIR}/wizard/invisiblebuttongroup.cpp 0046 ${CMAKE_CURRENT_SOURCE_DIR}/wizard/htmlintropage.cpp 0047 ${CMAKE_CURRENT_SOURCE_DIR}/wizard/htmlselectionpage.cpp 0048 ${CMAKE_CURRENT_SOURCE_DIR}/wizard/htmlthemepage.cpp 0049 ${CMAKE_CURRENT_SOURCE_DIR}/wizard/htmloutputpage.cpp 0050 ${CMAKE_CURRENT_SOURCE_DIR}/wizard/htmlfinalpage.cpp 0051 ${CMAKE_CURRENT_SOURCE_DIR}/wizard/htmlimagesettingspage.cpp 0052 ${CMAKE_CURRENT_SOURCE_DIR}/wizard/htmlparameterspage.cpp 0053 ${CMAKE_CURRENT_SOURCE_DIR}/wizard/htmlwizard.cpp 0054 0055 ${CMAKE_CURRENT_SOURCE_DIR}/generator/galleryxmlutils.cpp 0056 ${CMAKE_CURRENT_SOURCE_DIR}/generator/gallerynamehelper.cpp 0057 ${CMAKE_CURRENT_SOURCE_DIR}/generator/galleryelementfunctor.cpp 0058 ${CMAKE_CURRENT_SOURCE_DIR}/generator/galleryconfig.cpp 0059 ${CMAKE_CURRENT_SOURCE_DIR}/generator/galleryelement.cpp 0060 ${CMAKE_CURRENT_SOURCE_DIR}/generator/gallerytheme.cpp 0061 ${CMAKE_CURRENT_SOURCE_DIR}/generator/galleryinfo.cpp 0062 ${CMAKE_CURRENT_SOURCE_DIR}/generator/gallerygenerator.cpp 0063 0064 ${CMAKE_CURRENT_SOURCE_DIR}/htmlgalleryplugin.cpp 0065 ) 0066 0067 DIGIKAM_ADD_GENERIC_PLUGIN(NAME HtmlGallery 0068 SOURCES ${htmlgalleryplugin_SRCS} 0069 DEPENDS Qt${QT_VERSION_MAJOR}::Concurrent 0070 ${LIBXSLT_EXSLT_LIBRARIES} 0071 ${LIBXSLT_LIBRARIES} 0072 ${LIBXML2_LIBRARIES} 0073 ) 0074 0075 install(DIRECTORY themes DESTINATION ${KDE_INSTALL_FULL_DATADIR}/digikam/)