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

0001 set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
0002 
0003 include_directories(
0004         ${QtTest_INCLUDE_DIRS}
0005 )
0006 
0007 add_executable(test-core-rangelist rangelisttest.cpp)
0008 add_test(core-rangelist test-core-rangelist)
0009 ecm_mark_as_test(test-core-rangelist)
0010 target_link_libraries(test-core-rangelist Qt${QT_MAJOR_VERSION}::Test subtitlecomposer-lib)
0011 
0012 add_executable(test-core-range rangetest.cpp)
0013 add_test(core-range test-core-range)
0014 ecm_mark_as_test(test-core-range)
0015 target_link_libraries(test-core-range Qt${QT_MAJOR_VERSION}::Test subtitlecomposer-lib)
0016 
0017 add_executable(test-core-time timetest.cpp)
0018 add_test(core-time test-core-time)
0019 ecm_mark_as_test(test-core-time)
0020 target_link_libraries(test-core-time Qt${QT_MAJOR_VERSION}::Test subtitlecomposer-lib)
0021 
0022 add_executable(test-core-richstring richstringtest.cpp)
0023 add_test(core-richstring test-core-richstring)
0024 ecm_mark_as_test(test-core-richstring)
0025 target_link_libraries(test-core-richstring Qt${QT_MAJOR_VERSION}::Test subtitlecomposer-lib)
0026 
0027 add_executable(test-core-richdocument richdocumenttest.cpp)
0028 add_test(core-richdocument test-core-richdocument)
0029 ecm_mark_as_test(test-core-richdocument)
0030 target_link_libraries(test-core-richdocument Qt${QT_MAJOR_VERSION}::Test subtitlecomposer-lib)
0031 
0032 add_executable(test-core-richdocumentlayout richdocumentlayouttest.cpp)
0033 add_test(core-richdocument test-core-richdocumentlayout)
0034 ecm_mark_as_test(test-core-richdocumentlayout)
0035 target_link_libraries(test-core-richdocumentlayout Qt${QT_MAJOR_VERSION}::Test subtitlecomposer-lib)
0036 
0037 if (NOT MSVC)
0038         add_executable(test-core-richcss richcsstest.cpp)
0039         add_test(core-richcss test-core-richcss)
0040         ecm_mark_as_test(test-core-richcss)
0041         target_link_libraries(test-core-richcss Qt${QT_MAJOR_VERSION}::Test subtitlecomposer-lib)
0042 endif()
0043 
0044 add_executable(test-core-subtitle subtitletest.cpp)
0045 add_test(core-subtitle test-core-subtitle)
0046 ecm_mark_as_test(test-core-subtitle)
0047 target_link_libraries(test-core-subtitle Qt${QT_MAJOR_VERSION}::Test subtitlecomposer-lib)