Warning, /graphics/digikam/core/utilities/firstrun/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(libfirstrun_SRCS
0011     ${CMAKE_CURRENT_SOURCE_DIR}/firstrundlg.cpp
0012     ${CMAKE_CURRENT_SOURCE_DIR}/welcomepage.cpp
0013     ${CMAKE_CURRENT_SOURCE_DIR}/collectionpage.cpp
0014     ${CMAKE_CURRENT_SOURCE_DIR}/databasepage.cpp
0015     ${CMAKE_CURRENT_SOURCE_DIR}/rawpage.cpp
0016     ${CMAKE_CURRENT_SOURCE_DIR}/tooltipspage.cpp
0017     ${CMAKE_CURRENT_SOURCE_DIR}/previewpage.cpp
0018     ${CMAKE_CURRENT_SOURCE_DIR}/openfilepage.cpp
0019     ${CMAKE_CURRENT_SOURCE_DIR}/metadatapage.cpp
0020     ${CMAKE_CURRENT_SOURCE_DIR}/startscanpage.cpp
0021 )
0022 
0023 include_directories($<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Gui,INTERFACE_INCLUDE_DIRECTORIES>
0024                     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Widgets,INTERFACE_INCLUDE_DIRECTORIES>
0025                     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Core,INTERFACE_INCLUDE_DIRECTORIES>
0026                     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Sql,INTERFACE_INCLUDE_DIRECTORIES>
0027 
0028                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::I18n,INTERFACE_INCLUDE_DIRECTORIES>
0029                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::ConfigCore,INTERFACE_INCLUDE_DIRECTORIES>
0030                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::CoreAddons,INTERFACE_INCLUDE_DIRECTORIES>
0031                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::XmlGui,INTERFACE_INCLUDE_DIRECTORIES>
0032 )
0033 
0034 if(NOT Qt6_FOUND)
0035 
0036     set(libfirstrun_SRCS
0037         ${libfirstrun_SRCS}
0038         ${CMAKE_CURRENT_SOURCE_DIR}/migratefromdigikam4page.cpp
0039     )
0040 
0041 endif()
0042 
0043 # Used by digikamgui
0044 add_library(gui_firstrun_obj OBJECT ${libfirstrun_SRCS})
0045 
0046 target_compile_definitions(gui_firstrun_obj
0047                            PRIVATE
0048                            digikamgui_EXPORTS
0049 )