Warning, /graphics/digikam/core/tests/dplugins/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 # ======================================================= 0008 0009 APPLY_COMMON_POLICIES() 0010 0011 include_directories( 0012 $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Core,INTERFACE_INCLUDE_DIRECTORIES> 0013 $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Gui,INTERFACE_INCLUDE_DIRECTORIES> 0014 ) 0015 0016 macro(DPLUGINS_BUILD_TOOL) 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 0026 target_link_libraries(${_target} 0027 digikamcore 0028 0029 ${COMMON_TEST_LINK} 0030 ) 0031 0032 endmacro() 0033 0034 DPLUGINS_BUILD_TOOL(loadandrun_generic_gui.cpp) 0035 DPLUGINS_BUILD_TOOL(confview_generic_gui.cpp)