Warning, /graphics/digikam/core/utilities/setup/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 include_directories($<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Sql,INTERFACE_INCLUDE_DIRECTORIES>
0011                     $<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}::Network,INTERFACE_INCLUDE_DIRECTORIES>
0014 
0015                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::I18n,INTERFACE_INCLUDE_DIRECTORIES>
0016                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::WidgetsAddons,INTERFACE_INCLUDE_DIRECTORIES>
0017                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::XmlGui,INTERFACE_INCLUDE_DIRECTORIES>
0018 )
0019 
0020 set(libsetupshowfoto_SRCS
0021     ${CMAKE_CURRENT_SOURCE_DIR}/editor/setupeditoriface.cpp
0022     ${CMAKE_CURRENT_SOURCE_DIR}/editor/setupiofiles.cpp
0023     ${CMAKE_CURRENT_SOURCE_DIR}/editor/setupraw.cpp
0024     ${CMAKE_CURRENT_SOURCE_DIR}/setupicc.cpp
0025 
0026     ${CMAKE_CURRENT_SOURCE_DIR}/downloader/filesdownloader.cpp
0027 
0028     ${CMAKE_CURRENT_SOURCE_DIR}/misc/systemsettingswidget.cpp
0029     ${CMAKE_CURRENT_SOURCE_DIR}/misc/systemsettings.cpp
0030 )
0031 
0032 if(${ENABLE_GEOLOCATION})
0033 
0034     set(libsetupshowfoto_SRCS ${libsetupshowfoto_SRCS}
0035         ${CMAKE_CURRENT_SOURCE_DIR}/setupgeolocation.cpp
0036     )
0037 
0038 endif()
0039 
0040 ki18n_wrap_ui(libsetupshowfoto_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/misc/proxysettingswidget.ui)
0041 
0042 # Used by digikamcore
0043 add_library(core_setupcommon_obj OBJECT ${libsetupshowfoto_SRCS})
0044 
0045 target_compile_definitions(core_setupcommon_obj
0046                            PRIVATE
0047                            digikamcore_EXPORTS
0048 )
0049 
0050 # ---------------------------------------------------------------------
0051 
0052 set(libsetup_SRCS
0053     ${CMAKE_CURRENT_SOURCE_DIR}/setup.cpp
0054     ${CMAKE_CURRENT_SOURCE_DIR}/setuptooltip.cpp
0055     ${CMAKE_CURRENT_SOURCE_DIR}/setuptemplate.cpp
0056     ${CMAKE_CURRENT_SOURCE_DIR}/setupplugins.cpp
0057     ${CMAKE_CURRENT_SOURCE_DIR}/setuplighttable.cpp
0058     ${CMAKE_CURRENT_SOURCE_DIR}/setupdatabase.cpp
0059     ${CMAKE_CURRENT_SOURCE_DIR}/setupimagequalitysorter.cpp
0060     ${CMAKE_CURRENT_SOURCE_DIR}/setuputils.cpp
0061 
0062     ${CMAKE_CURRENT_SOURCE_DIR}/misc/setupmisc.cpp
0063 
0064     ${CMAKE_CURRENT_SOURCE_DIR}/editor/setupeditor.cpp
0065     ${CMAKE_CURRENT_SOURCE_DIR}/editor/setupversioning.cpp
0066 
0067     ${CMAKE_CURRENT_SOURCE_DIR}/album/setupalbumview.cpp
0068     ${CMAKE_CURRENT_SOURCE_DIR}/album/setupcategory.cpp
0069     ${CMAKE_CURRENT_SOURCE_DIR}/album/setupmime.cpp
0070 
0071     ${CMAKE_CURRENT_SOURCE_DIR}/metadata/setupmetadata.cpp
0072     ${CMAKE_CURRENT_SOURCE_DIR}/metadata/setupmetadata_p.cpp
0073     ${CMAKE_CURRENT_SOURCE_DIR}/metadata/setupmetadata_behavior.cpp
0074     ${CMAKE_CURRENT_SOURCE_DIR}/metadata/setupmetadata_sidecars.cpp
0075     ${CMAKE_CURRENT_SOURCE_DIR}/metadata/setupmetadata_display.cpp
0076     ${CMAKE_CURRENT_SOURCE_DIR}/metadata/setupmetadata_rotation.cpp
0077     ${CMAKE_CURRENT_SOURCE_DIR}/metadata/setupmetadata_baloo.cpp
0078     ${CMAKE_CURRENT_SOURCE_DIR}/metadata/advancedmetadatatab.cpp
0079     ${CMAKE_CURRENT_SOURCE_DIR}/metadata/namespacelistview.cpp
0080     ${CMAKE_CURRENT_SOURCE_DIR}/metadata/namespaceeditdlg.cpp
0081 
0082     ${CMAKE_CURRENT_SOURCE_DIR}/collections/setupcollections.cpp
0083     ${CMAKE_CURRENT_SOURCE_DIR}/collections/setupcollectionview.cpp
0084     ${CMAKE_CURRENT_SOURCE_DIR}/collections/dwitemdelegate.cpp
0085     ${CMAKE_CURRENT_SOURCE_DIR}/collections/dwitemdelegate_p.cpp
0086     ${CMAKE_CURRENT_SOURCE_DIR}/collections/dwitemdelegatepool.cpp
0087 
0088     ${CMAKE_CURRENT_SOURCE_DIR}/camera/importfilterdlg.cpp
0089     ${CMAKE_CURRENT_SOURCE_DIR}/camera/setupcamera.cpp
0090     ${CMAKE_CURRENT_SOURCE_DIR}/camera/cameraselection.cpp
0091     ${CMAKE_CURRENT_SOURCE_DIR}/camera/cameralist.cpp
0092     ${CMAKE_CURRENT_SOURCE_DIR}/camera/cameratype.cpp
0093 )
0094 
0095 # Used by digikamgui
0096 add_library(gui_setup_obj OBJECT ${libsetup_SRCS})
0097 
0098 target_compile_definitions(gui_setup_obj
0099                            PRIVATE
0100                            digikamgui_EXPORTS
0101 )