Warning, /frameworks/kpty/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include(ECMMarkAsTest) 0002 include(ECMMarkNonGuiExecutable) 0003 0004 find_package(Qt${QT_MAJOR_VERSION} "${REQUIRED_QT_VERSION}" CONFIG REQUIRED Test) 0005 0006 remove_definitions(-DQT_NO_CAST_FROM_ASCII) 0007 0008 add_executable(kptyprocesstest kptyprocesstest.cpp) 0009 target_link_libraries(kptyprocesstest KF5::Pty Qt${QT_MAJOR_VERSION}::Test) 0010 ecm_mark_as_test(kptyprocesstest) 0011 ecm_mark_nongui_executable(kptyprocesstest) 0012 add_test(NAME kptyprocesstest COMMAND kptyprocesstest)