Warning, /graphics/digikam/core/libs/album/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(libalbum_SRCS
0011 
0012     ${CMAKE_CURRENT_SOURCE_DIR}/engine/album.cpp
0013     ${CMAKE_CURRENT_SOURCE_DIR}/engine/albumhistory.cpp
0014     ${CMAKE_CURRENT_SOURCE_DIR}/engine/albummodificationhelper.cpp
0015     ${CMAKE_CURRENT_SOURCE_DIR}/engine/albumthumbnailloader.cpp
0016     ${CMAKE_CURRENT_SOURCE_DIR}/engine/albumwatch.cpp
0017     ${CMAKE_CURRENT_SOURCE_DIR}/engine/albumparser.cpp
0018 
0019     ${CMAKE_CURRENT_SOURCE_DIR}/widgets/albumpropsedit.cpp
0020     ${CMAKE_CURRENT_SOURCE_DIR}/widgets/albumselectors.cpp
0021     ${CMAKE_CURRENT_SOURCE_DIR}/widgets/albumselectcombobox.cpp
0022     ${CMAKE_CURRENT_SOURCE_DIR}/widgets/albumselectdialog.cpp
0023     ${CMAKE_CURRENT_SOURCE_DIR}/widgets/albumselectwidget.cpp
0024     ${CMAKE_CURRENT_SOURCE_DIR}/widgets/albumselecttabs.cpp
0025 
0026     ${CMAKE_CURRENT_SOURCE_DIR}/treeview/abstractalbumtreeview.cpp
0027     ${CMAKE_CURRENT_SOURCE_DIR}/treeview/abstractcountingalbumtreeview.cpp
0028     ${CMAKE_CURRENT_SOURCE_DIR}/treeview/abstractcheckablealbumtreeview.cpp
0029     ${CMAKE_CURRENT_SOURCE_DIR}/treeview/albumtreeview.cpp
0030     ${CMAKE_CURRENT_SOURCE_DIR}/treeview/labelstreeview.cpp
0031     ${CMAKE_CURRENT_SOURCE_DIR}/treeview/albumlabelssearchhandler.cpp
0032     ${CMAKE_CURRENT_SOURCE_DIR}/treeview/tagtreeview.cpp
0033     ${CMAKE_CURRENT_SOURCE_DIR}/treeview/searchtreeview.cpp
0034     ${CMAKE_CURRENT_SOURCE_DIR}/treeview/datetreeview.cpp
0035     ${CMAKE_CURRENT_SOURCE_DIR}/treeview/albumselectiontreeview.cpp
0036 
0037     ${CMAKE_CURRENT_SOURCE_DIR}/manager/albummanager.cpp
0038     ${CMAKE_CURRENT_SOURCE_DIR}/manager/albummanager_p.cpp
0039     ${CMAKE_CURRENT_SOURCE_DIR}/manager/albummanager_album.cpp
0040     ${CMAKE_CURRENT_SOURCE_DIR}/manager/albummanager_palbum.cpp
0041     ${CMAKE_CURRENT_SOURCE_DIR}/manager/albummanager_talbum.cpp
0042     ${CMAKE_CURRENT_SOURCE_DIR}/manager/albummanager_dalbum.cpp
0043     ${CMAKE_CURRENT_SOURCE_DIR}/manager/albummanager_falbum.cpp
0044     ${CMAKE_CURRENT_SOURCE_DIR}/manager/albummanager_salbum.cpp
0045     ${CMAKE_CURRENT_SOURCE_DIR}/manager/albummanager_database.cpp
0046     ${CMAKE_CURRENT_SOURCE_DIR}/manager/albummanager_collection.cpp
0047 )
0048 
0049 include_directories(
0050     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Sql,INTERFACE_INCLUDE_DIRECTORIES>
0051     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Gui,INTERFACE_INCLUDE_DIRECTORIES>
0052     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Widgets,INTERFACE_INCLUDE_DIRECTORIES>
0053     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Core,INTERFACE_INCLUDE_DIRECTORIES>
0054 
0055     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::I18n,INTERFACE_INCLUDE_DIRECTORIES>
0056     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::WidgetsAddons,INTERFACE_INCLUDE_DIRECTORIES>
0057     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::Solid,INTERFACE_INCLUDE_DIRECTORIES>
0058     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::XmlGui,INTERFACE_INCLUDE_DIRECTORIES>
0059 )
0060 
0061 if(ENABLE_DBUS)
0062     include_directories($<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::DBus,INTERFACE_INCLUDE_DIRECTORIES>)
0063 endif()
0064 
0065 # Used by digikamgui
0066 add_library(gui_digikamalbum_obj OBJECT ${libalbum_SRCS})
0067 
0068 target_compile_definitions(gui_digikamalbum_obj
0069                            PRIVATE
0070                            digikamgui_EXPORTS
0071 )