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

0001 #
0002 # SPDX-FileCopyrightText: 2015 by Mohamed_Anwer, <m_dot_anwer at gmx dot com>
0003 #
0004 # SPDX-License-Identifier: BSD-3-Clause
0005 #
0006 
0007 APPLY_COMMON_POLICIES()
0008 
0009 set(libdtrash_SRCS
0010     ${CMAKE_CURRENT_SOURCE_DIR}/dtrash.cpp
0011     ${CMAKE_CURRENT_SOURCE_DIR}/dtrashiteminfo.cpp
0012     ${CMAKE_CURRENT_SOURCE_DIR}/dtrashitemmodel.cpp
0013 )
0014 
0015 include_directories(
0016     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Gui,INTERFACE_INCLUDE_DIRECTORIES>
0017     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Core,INTERFACE_INCLUDE_DIRECTORIES>
0018     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Widgets,INTERFACE_INCLUDE_DIRECTORIES>
0019 
0020     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::I18n,INTERFACE_INCLUDE_DIRECTORIES>
0021     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::ConfigCore,INTERFACE_INCLUDE_DIRECTORIES>
0022 )
0023 
0024 # Used by digikamgui
0025 add_library(gui_dtrash_obj OBJECT ${libdtrash_SRCS})
0026 
0027 target_compile_definitions(gui_dtrash_obj
0028                            PRIVATE
0029                            digikamgui_EXPORTS
0030 )