Warning, /kdevelop/kdevelop/plugins/quickopen/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 remove_definitions( 0002 -DQT_NO_CAST_FROM_ASCII 0003 -DQT_NO_CAST_TO_ASCII 0004 -DQT_NO_CAST_FROM_BYTEARRAY 0005 ) 0006 0007 add_library(quickopentestbase STATIC 0008 quickopentestbase.cpp 0009 ../projectfilequickopen.cpp) 0010 0011 target_link_libraries(quickopentestbase PUBLIC 0012 KDev::Tests 0013 KDev::Project 0014 KDev::Language 0015 gfx::timsort 0016 Qt5::Test 0017 ) 0018 0019 ecm_add_test(test_quickopen.cpp LINK_LIBRARIES quickopentestbase) 0020 0021 if(BUILD_BENCHMARKS) 0022 ecm_add_test(bench_quickopen.cpp LINK_LIBRARIES quickopentestbase) 0023 set_tests_properties(bench_quickopen PROPERTIES TIMEOUT 30) 0024 endif()