Warning, /graphics/digikam/core/utilities/facemanagement/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(libfacemanagement_SRCS
0011     ${CMAKE_CURRENT_SOURCE_DIR}/database/faceutils.cpp
0012     ${CMAKE_CURRENT_SOURCE_DIR}/database/faceitemretriever.cpp
0013     ${CMAKE_CURRENT_SOURCE_DIR}/database/facescansettings.cpp
0014     ${CMAKE_CURRENT_SOURCE_DIR}/items/faceitem.cpp
0015     ${CMAKE_CURRENT_SOURCE_DIR}/items/facegroup.cpp
0016     ${CMAKE_CURRENT_SOURCE_DIR}/items/facegroup_p.cpp
0017     ${CMAKE_CURRENT_SOURCE_DIR}/threads/facepreviewloader.cpp
0018     ${CMAKE_CURRENT_SOURCE_DIR}/threads/facepipeline.cpp
0019     ${CMAKE_CURRENT_SOURCE_DIR}/threads/facepipeline_p.cpp
0020     ${CMAKE_CURRENT_SOURCE_DIR}/threads/facepipelinepackage.cpp
0021     ${CMAKE_CURRENT_SOURCE_DIR}/threads/parallelpipes.cpp
0022     ${CMAKE_CURRENT_SOURCE_DIR}/threads/scanstatefilter.cpp
0023     ${CMAKE_CURRENT_SOURCE_DIR}/widgets/facescanwidget.cpp
0024     ${CMAKE_CURRENT_SOURCE_DIR}/widgets/assignnamewidget.cpp
0025     ${CMAKE_CURRENT_SOURCE_DIR}/widgets/assignnamewidget_p.cpp
0026     ${CMAKE_CURRENT_SOURCE_DIR}/widgets/assignnamewidgetstates.cpp
0027     ${CMAKE_CURRENT_SOURCE_DIR}/bench/detectionbenchmarker.cpp
0028     ${CMAKE_CURRENT_SOURCE_DIR}/bench/recognitionbenchmarker.cpp
0029     ${CMAKE_CURRENT_SOURCE_DIR}/workers/detectionworker.cpp
0030     ${CMAKE_CURRENT_SOURCE_DIR}/workers/recognitionworker.cpp
0031     ${CMAKE_CURRENT_SOURCE_DIR}/workers/databasewriter.cpp
0032     ${CMAKE_CURRENT_SOURCE_DIR}/workers/trainerworker.cpp
0033 )
0034 
0035 include_directories($<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Sql,INTERFACE_INCLUDE_DIRECTORIES>
0036                     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Gui,INTERFACE_INCLUDE_DIRECTORIES>
0037                     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Widgets,INTERFACE_INCLUDE_DIRECTORIES>
0038                     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Core,INTERFACE_INCLUDE_DIRECTORIES>
0039 
0040                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::I18n,INTERFACE_INCLUDE_DIRECTORIES>
0041                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::XmlGui,INTERFACE_INCLUDE_DIRECTORIES>
0042                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::ConfigCore,INTERFACE_INCLUDE_DIRECTORIES>
0043 )
0044 
0045 if(ENABLE_DBUS)
0046     include_directories($<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::DBus,INTERFACE_INCLUDE_DIRECTORIES>)
0047 endif()
0048 
0049 # Used by digikamgui
0050 add_library(gui_facemanagement_obj OBJECT ${libfacemanagement_SRCS})
0051 
0052 target_compile_definitions(gui_facemanagement_obj
0053                            PRIVATE
0054                            digikamgui_EXPORTS
0055 )