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

0001 #
0002 # SPDX-FileCopyrightText: 2015,      by Veaceslav Munteanu, <veaceslav dot munteanu90 at gmail dot com>
0003 # SPDX-FileCopyrightText: 2010-2021, by Gilles Caulier, <caulier dot gilles at gmail dot com>
0004 #
0005 # SPDX-License-Identifier: BSD-3-Clause
0006 #
0007 
0008 APPLY_COMMON_POLICIES()
0009 
0010 include_directories(
0011     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Core,INTERFACE_INCLUDE_DIRECTORIES>
0012     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Gui,INTERFACE_INCLUDE_DIRECTORIES>
0013     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Test,INTERFACE_INCLUDE_DIRECTORIES>
0014 )
0015 
0016 macro(FOCUSPOINT_BUILD_CLITEST)
0017 
0018     set(_filename ${ARGV0})
0019     string(REPLACE "." ";" _temp ${_filename})
0020     list(GET _temp 0 _target)
0021 
0022     set(${_target}_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/${_filename})
0023 
0024     add_executable(${_target} ${${_target}_SRCS})
0025     ecm_mark_nongui_executable(${_target})
0026 
0027     target_link_libraries(${_target}
0028 
0029                           digikamcore
0030 
0031                           ${COMMON_TEST_LINK}
0032     )
0033 
0034 endmacro()
0035 
0036 #------------------------------------------------------------------------
0037 
0038 FOCUSPOINT_BUILD_CLITEST(afpointwrite_cli.cpp)
0039 FOCUSPOINT_BUILD_CLITEST(afpointread_cli.cpp)