Warning, /multimedia/kdenlive/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-License-Identifier: BSD-2-Clause
0002 # SPDX-FileCopyrightText: Jean-Baptiste Mardelle <jb@kdenlive.org>, Julius K├╝nzel <jk.kdedev@smartlab.uber.space>, Eric Jiang <erjiang@alumni.iu.edu>, Vincent Pinon <vincent.pinon@asygn.com>
0003 
0004 include_directories(${MLT_INCLUDE_DIR} ${MLTPP_INCLUDE_DIR} ..)
0005 set(TEST_SOURCES ${CMAKE_CURRENT_SOURCE_DIR})
0006 configure_file(tests_definitions.h.in tests_definitions.h)
0007 kde_enable_exceptions()
0008 
0009 set(KdenliveTest_SOURCES
0010     cachetest.cpp
0011     colorscopestest.cpp
0012     compositiontest.cpp
0013     documenttest.cpp
0014     effectstest.cpp
0015     filetest.cpp
0016     groupstest.cpp
0017     hidetest.cpp
0018     keyframetest.cpp
0019     markertest.cpp
0020     mixtest.cpp
0021     modeltest.cpp
0022     movetest.cpp
0023     nestingtest.cpp
0024     regressions.cpp
0025     rendermodeltest.cpp
0026     replacetest.cpp
0027     sequencetest.cpp
0028     snaptest.cpp
0029     spacertest.cpp
0030     subtitlestest.cpp
0031     sysinfotest.cpp
0032     timelinepreviewtest.cpp
0033     timewarptest.cpp
0034     titlertest.cpp
0035     treetest.cpp
0036     trimmingtest.cpp
0037     utilstest.cpp
0038 )
0039 
0040 include(ECMAddTests)
0041 
0042 foreach(_source ${KdenliveTest_SOURCES})
0043   get_filename_component(_targetname ${_source} NAME_WE)
0044   ecm_add_test(
0045       TestMain.cpp
0046       test_utils.cpp
0047       abortutil.cpp
0048       ${_source}
0049       TEST_NAME ${_targetname}
0050       LINK_LIBRARIES kdenliveLib
0051   )
0052   set_property(TARGET ${_targetname} PROPERTY CXX_STANDARD 14)
0053 endforeach()