Warning, /graphics/digikam/core/libs/dialogs/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 if(LensFun_FOUND)
0011     include_directories(${LENSFUN_INCLUDE_DIRS})
0012 endif()
0013 
0014 include_directories(
0015     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Sql,INTERFACE_INCLUDE_DIRECTORIES>
0016     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Gui,INTERFACE_INCLUDE_DIRECTORIES>
0017     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Widgets,INTERFACE_INCLUDE_DIRECTORIES>
0018     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Core,INTERFACE_INCLUDE_DIRECTORIES>
0019 
0020     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::I18n,INTERFACE_INCLUDE_DIRECTORIES>
0021     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::XmlGui,INTERFACE_INCLUDE_DIRECTORIES>
0022     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::ConfigCore,INTERFACE_INCLUDE_DIRECTORIES>
0023     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::CoreAddons,INTERFACE_INCLUDE_DIRECTORIES>
0024     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::Solid,INTERFACE_INCLUDE_DIRECTORIES>
0025 )
0026 
0027 if(KF${QT_VERSION_MAJOR}Sonnet_FOUND)
0028     include_directories($<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::SonnetCore,INTERFACE_INCLUDE_DIRECTORIES>)
0029 endif()
0030 
0031 if(ENABLE_QWEBENGINE)
0032     include_directories($<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::WebEngineWidgets,INTERFACE_INCLUDE_DIRECTORIES>)
0033 else()
0034     include_directories($<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::WebKitWidgets,INTERFACE_INCLUDE_DIRECTORIES>)
0035 endif()
0036 
0037 set(libdialogs_SRCS
0038     ${CMAKE_CURRENT_SOURCE_DIR}/dprogressdlg.cpp
0039     ${CMAKE_CURRENT_SOURCE_DIR}/dbusydlg.cpp
0040     ${CMAKE_CURRENT_SOURCE_DIR}/filesaveoptionsdlg.cpp
0041     ${CMAKE_CURRENT_SOURCE_DIR}/iccprofileinfodlg.cpp
0042     ${CMAKE_CURRENT_SOURCE_DIR}/imagedialog.cpp
0043     ${CMAKE_CURRENT_SOURCE_DIR}/imagedialog_preview.cpp
0044     ${CMAKE_CURRENT_SOURCE_DIR}/imagedialog_iconprovider.cpp
0045     ${CMAKE_CURRENT_SOURCE_DIR}/imagedialog_tooltip.cpp
0046     ${CMAKE_CURRENT_SOURCE_DIR}/infodlg.cpp
0047     ${CMAKE_CURRENT_SOURCE_DIR}/libsinfodlg.cpp
0048     ${CMAKE_CURRENT_SOURCE_DIR}/rawcameradlg.cpp
0049     ${CMAKE_CURRENT_SOURCE_DIR}/solidhardwaredlg.cpp
0050     ${CMAKE_CURRENT_SOURCE_DIR}/dconfigdlg.cpp
0051     ${CMAKE_CURRENT_SOURCE_DIR}/dconfigdlgmngr.cpp
0052     ${CMAKE_CURRENT_SOURCE_DIR}/dconfigdlgmodels.cpp
0053     ${CMAKE_CURRENT_SOURCE_DIR}/dconfigdlgview.cpp
0054     ${CMAKE_CURRENT_SOURCE_DIR}/dconfigdlgview_p.cpp
0055     ${CMAKE_CURRENT_SOURCE_DIR}/dconfigdlgwidgets.cpp
0056     ${CMAKE_CURRENT_SOURCE_DIR}/dmessagebox.cpp
0057     ${CMAKE_CURRENT_SOURCE_DIR}/dsplashscreen.cpp
0058     ${CMAKE_CURRENT_SOURCE_DIR}/webbrowserdlg.cpp
0059 )
0060 
0061 # Used by digikamcore
0062 add_library(core_digikamdialogs_obj OBJECT ${libdialogs_SRCS})
0063 
0064 target_compile_definitions(core_digikamdialogs_obj
0065                            PRIVATE
0066                            digikamcore_EXPORTS
0067 )
0068 
0069 set(libdeletedialog_SRCS
0070     ${CMAKE_CURRENT_SOURCE_DIR}/deletedialog.cpp
0071 )
0072 
0073 # Used by digikamgui
0074 add_library(gui_digikamdeletedialog_obj OBJECT ${libdeletedialog_SRCS})
0075 
0076 target_compile_definitions(gui_digikamdeletedialog_obj
0077                            PRIVATE
0078                            digikamgui_EXPORTS
0079 )