Warning, /graphics/digikam/core/tests/facesengine/recognition/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_rec ALL 0012 COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_SOURCE_DIR}/../data ${CMAKE_CURRENT_BINARY_DIR}/data) 0013 0014 add_custom_target(scriptlink_rec ALL 0015 COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_SOURCE_DIR}/../scripts ${CMAKE_CURRENT_BINARY_DIR}/scripts) 0016 0017 # ----------------------------------------------------------------------------- 0018 0019 set(recognize_cli_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/recognize_cli.cpp) 0020 add_executable(recognize_cli ${recognize_cli_SRCS}) 0021 0022 target_link_libraries(recognize_cli 0023 0024 digikamcore 0025 digikamdatabase 0026 digikamgui 0027 0028 ${COMMON_TEST_LINK} 0029 ) 0030 0031 # ----------------------------------------------------------------------------- 0032 0033 set(facerec_cli_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/face_rec_cli.cpp) 0034 add_executable(face_rec_cli ${facerec_cli_SRCS}) 0035 0036 target_link_libraries(face_rec_cli 0037 0038 digikamcore 0039 digikamdatabase 0040 digikamgui 0041 0042 ${COMMON_TEST_LINK} 0043 ) 0044 0045 # ----------------------------------------------------------------------------- 0046 0047 # NOTE:Port this tool to new API 0048 0049 #set(facecluster_cli_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/face_cluster_cli.cpp) 0050 #add_executable(face_cluster_cli ${facecluster_cli_SRCS}) 0051 0052 #target_link_libraries(face_cluster_cli 0053 0054 # digikamcore 0055 # digikamdatabase 0056 # digikamgui 0057 0058 # ${COMMON_TEST_LINK} 0059 #) 0060 0061 # ----------------------------------------------------------------------------- 0062 0063 set(benchmark_recognition_cli_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/benchmark_recognition_cli.cpp) 0064 add_executable(benchmark_recognition_cli ${benchmark_recognition_cli_SRCS}) 0065 0066 target_link_libraries(benchmark_recognition_cli 0067 0068 digikamcore 0069 digikamdatabase 0070 digikamgui 0071 0072 ${COMMON_TEST_LINK} 0073 ) 0074 0075 # ----------------------------------------------------------------------------- 0076 0077 set(recognition_gui_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/recognition_gui.cpp) 0078 add_executable(recognition_gui ${recognition_gui_SRCS}) 0079 0080 target_link_libraries(recognition_gui 0081 0082 digikamcore 0083 digikamdatabase 0084 digikamgui 0085 0086 ${COMMON_TEST_LINK} 0087 ) 0088 0089 # ----------------------------------------------------------------------------- 0090 0091 set(traindb_cli_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/traindb_cli.cpp) 0092 add_executable(traindb_cli ${traindb_cli_SRCS}) 0093 0094 target_link_libraries(traindb_cli 0095 0096 digikamcore 0097 digikamdatabase 0098 digikamgui 0099 0100 ${COMMON_TEST_LINK} 0101 )