Warning, /graphics/digikam/core/tests/video/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 #
0002 # SPDX-FileCopyrightText: 2010-2024 by 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}::Test,INTERFACE_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}::Xml,INTERFACE_INCLUDE_DIRECTORIES>
0014 )
0015
0016 if(HAVE_OPENGL)
0017
0018 include_directories($<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::OpenGL,INTERFACE_INCLUDE_DIRECTORIES>)
0019
0020 if(Qt6_FOUND)
0021
0022 include_directories($<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::OpenGLWidgets,INTERFACE_INCLUDE_DIRECTORIES>)
0023
0024 endif()
0025
0026 endif()
0027
0028 # -------------------------------------------------
0029
0030 if(ENABLE_MEDIAPLAYER)
0031
0032 add_executable(videothumb_cli ${CMAKE_CURRENT_SOURCE_DIR}/videothumb_cli.cpp)
0033 ecm_mark_nongui_executable(videothumb_cli)
0034
0035 target_link_libraries(videothumb_cli
0036 digikamcore
0037
0038 ${COMMON_TEST_LINK}
0039 )
0040
0041 # -------------------------------------------------
0042
0043 add_executable(videoplayer_gui ${CMAKE_CURRENT_SOURCE_DIR}/videoplayer_gui.cpp)
0044
0045 target_link_libraries(videoplayer_gui
0046
0047 digikamcore
0048
0049 ${COMMON_TEST_LINK}
0050 )
0051
0052 # -------------------------------------------------
0053
0054 add_executable(videoslide_gui ${CMAKE_CURRENT_SOURCE_DIR}/videoslide_gui.cpp)
0055
0056 target_link_libraries(videoslide_gui
0057
0058 digikamcore
0059
0060 ${COMMON_TEST_LINK}
0061 )
0062
0063
0064 # -------------------------------------------------
0065
0066
0067 add_executable(framesencoder_cli ${CMAKE_CURRENT_SOURCE_DIR}/framesencoder_cli.cpp)
0068 ecm_mark_nongui_executable(framesencoder_cli)
0069
0070 target_link_libraries(framesencoder_cli
0071
0072 digikamcore
0073
0074 ${COMMON_TEST_LINK}
0075 )
0076
0077 endif()