Warning, /graphics/digikam/core/tests/facesengine/detection/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 kde_enable_exceptions()
0010 
0011 add_custom_target(datalink_det ALL
0012                   COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_SOURCE_DIR}/../data ${CMAKE_CURRENT_BINARY_DIR}/data)
0013 
0014 add_custom_target(scriptlink_det ALL
0015                   COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_SOURCE_DIR}/../scripts ${CMAKE_CURRENT_BINARY_DIR}/scripts)
0016 
0017 # -----------------------------------------------------------------------------
0018 
0019 set(detect_gui_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/detect_gui.cpp)
0020 add_executable(detect_gui ${detect_gui_SRCS})
0021 
0022 target_link_libraries(detect_gui
0023 
0024                       digikamcore
0025                       digikamdatabase
0026                       digikamgui
0027 
0028                       ${COMMON_TEST_LINK}
0029 )
0030 
0031 # -----------------------------------------------------------------------------
0032 
0033 set(dnndetection_gui_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/benchmark_dnndetection_gui.cpp)
0034 add_executable(benchmark_dnndetection_gui ${dnndetection_gui_SRCS})
0035 
0036 target_link_libraries(benchmark_dnndetection_gui
0037 
0038                       digikamcore
0039                       digikamdatabase
0040                       digikamgui
0041 
0042                       ${COMMON_TEST_LINK}
0043 )
0044