Warning, /graphics/digikam/core/libs/versionmanager/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(libversionmanager_SRCS
0011     ${CMAKE_CURRENT_SOURCE_DIR}/versionmanager.cpp
0012     ${CMAKE_CURRENT_SOURCE_DIR}/versionmanagersettings.cpp
0013     ${CMAKE_CURRENT_SOURCE_DIR}/versionnamingscheme.cpp
0014     ${CMAKE_CURRENT_SOURCE_DIR}/versionfileoperation.cpp
0015 )
0016 
0017 include_directories(
0018     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Core,INTERFACE_INCLUDE_DIRECTORIES>
0019 
0020     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::ConfigCore,INTERFACE_INCLUDE_DIRECTORIES>
0021 )
0022 
0023 # Used by digikamcore
0024 add_library(core_versionmanager_obj OBJECT ${libversionmanager_SRCS})
0025 
0026 target_compile_definitions(core_versionmanager_obj
0027                            PRIVATE
0028                            digikamcore_EXPORTS
0029 )