Warning, /graphics/digikam/core/libs/template/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 #
0002 # SPDX-FileCopyrightText: 2010-2024 by Gilles Caulier, <caulier dot gilles at gmail dot com>
0003 # SPDX-FileCopyrightText: 2015      by Veaceslav Munteanu, <veaceslav dot munteanu90 at gmail dot com>
0004 #
0005 # SPDX-License-Identifier: BSD-3-Clause
0006 #
0007 
0008 APPLY_COMMON_POLICIES()
0009 
0010 set(libtemplate_SRCS
0011     ${CMAKE_CURRENT_SOURCE_DIR}/templatemanager.cpp
0012     ${CMAKE_CURRENT_SOURCE_DIR}/templatelist.cpp
0013     ${CMAKE_CURRENT_SOURCE_DIR}/templateselector.cpp
0014     ${CMAKE_CURRENT_SOURCE_DIR}/templateviewer.cpp
0015     ${CMAKE_CURRENT_SOURCE_DIR}/templatepanel.cpp
0016     ${CMAKE_CURRENT_SOURCE_DIR}/subjectedit.cpp
0017 )
0018 
0019 include_directories(
0020     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Xml,INTERFACE_INCLUDE_DIRECTORIES>
0021     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Widgets,INTERFACE_INCLUDE_DIRECTORIES>
0022     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Core,INTERFACE_INCLUDE_DIRECTORIES>
0023 
0024     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::I18n,INTERFACE_INCLUDE_DIRECTORIES>
0025     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::WidgetsAddons,INTERFACE_INCLUDE_DIRECTORIES>
0026     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::ConfigCore,INTERFACE_INCLUDE_DIRECTORIES>
0027 )
0028 
0029 # Used by digikamgui
0030 add_library(gui_digikamtemplate_obj OBJECT  ${libtemplate_SRCS})
0031 
0032 target_compile_definitions(gui_digikamtemplate_obj
0033                            PRIVATE
0034                            digikamgui_EXPORTS
0035 )