Warning, /graphics/digikam/core/tests/autotagassignment/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 #
0002 # SPDX-FileCopyrightText: 2010-2024, Gilles Caulier, <caulier dot gilles at gmail dot com>
0003 #
0004 # SPDX-License-Identifier: BSD-3-Clause
0005 #
0006 
0007 APPLY_COMMON_POLICIES()
0008 
0009 include_directories(
0010                     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Widgets,INTERFACE_INCLUDE_DIRECTORIES>
0011                     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Network,INTERFACE_INCLUDE_DIRECTORIES>
0012                     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Concurrent,INTERFACE_INCLUDE_DIRECTORIES>
0013                     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Xml,INTERFACE_INCLUDE_DIRECTORIES>
0014                     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Core,INTERFACE_INCLUDE_DIRECTORIES>
0015 
0016                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::ConfigCore,INTERFACE_INCLUDE_DIRECTORIES>
0017                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::XmlGui,INTERFACE_INCLUDE_DIRECTORIES>
0018                     $<TARGET_PROPERTY:KF${QT_VERSION_MAJOR}::Service,INTERFACE_INCLUDE_DIRECTORIES>
0019 )
0020 
0021 # -----------------------------------------------------------------------------
0022 
0023 set(detect_object_cli_SRCS  ${CMAKE_CURRENT_SOURCE_DIR}/detect_object_cli.cpp)
0024 
0025 add_executable(detect_object_cli ${detect_object_cli_SRCS})
0026 
0027 target_link_libraries(detect_object_cli
0028 
0029                       digikamcore
0030                       digikamdatabase
0031                       digikamgui
0032 
0033                       KF${QT_VERSION_MAJOR}::XmlGui
0034                       KF${QT_VERSION_MAJOR}::ConfigCore
0035                       KF${QT_VERSION_MAJOR}::Service
0036                       ${COMMON_TEST_LINK}
0037 )
0038 
0039 # -----------------------------------------------------------------------------
0040 
0041 set(detect_object_gui_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/detect_object_gui.cpp)
0042 
0043 add_executable(detect_object_gui ${detect_object_gui_SRCS})
0044 
0045 target_link_libraries(detect_object_gui
0046 
0047                       digikamcore
0048                       digikamdatabase
0049                       digikamgui
0050 
0051                       KF${QT_VERSION_MAJOR}::XmlGui
0052                       KF${QT_VERSION_MAJOR}::ConfigCore
0053                       KF${QT_VERSION_MAJOR}::Service
0054                       ${COMMON_TEST_LINK}
0055 )
0056 
0057 # -----------------------------------------------------------------------------
0058 
0059 set(detect_object_batch_cli_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/detect_object_batch_cli.cpp)
0060 add_executable(detect_object_batch_cli ${detect_object_batch_cli_SRCS})
0061 target_link_libraries(detect_object_batch_cli
0062 
0063                       digikamcore
0064                       digikamdatabase
0065                       digikamgui
0066 
0067                       KF${QT_VERSION_MAJOR}::XmlGui
0068                       KF${QT_VERSION_MAJOR}::ConfigCore
0069                       KF${QT_VERSION_MAJOR}::Service
0070                       ${COMMON_TEST_LINK}
0071 )
0072 
0073 
0074 
0075 # -----------------------------------------------------------------------------
0076 
0077 set(autotagging_batch_cli_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/autotagging_batch_cli.cpp)
0078 add_executable(autotagging_batch_cli ${autotagging_batch_cli_SRCS})
0079 target_link_libraries(autotagging_batch_cli
0080 
0081                       digikamcore
0082                       digikamdatabase
0083                       digikamgui
0084 
0085                       KF${QT_VERSION_MAJOR}::XmlGui
0086                       KF${QT_VERSION_MAJOR}::ConfigCore
0087                       KF${QT_VERSION_MAJOR}::Service
0088                       ${COMMON_TEST_LINK}
0089 )
0090 
0091 # -----------------------------------------------------------------------------
0092 
0093 set(resnet_cli_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/resnet_cli.cpp)
0094 add_executable(resnet_cli ${resnet_cli_SRCS})
0095 target_link_libraries(resnet_cli
0096 
0097                       digikamcore
0098                       digikamdatabase
0099                       digikamgui
0100 
0101                       KF${QT_VERSION_MAJOR}::XmlGui
0102                       KF${QT_VERSION_MAJOR}::ConfigCore
0103                       KF${QT_VERSION_MAJOR}::Service
0104                       ${COMMON_TEST_LINK}
0105 )