Warning, /frameworks/extra-cmake-modules/test-modules/test_execute_and_compare.cmake is written in an unsupported language. File is not indexed.

0001 string(REPLACE / ";" processedArgs "${ARG_UNPARSED_ARGUMENTS}")
0002 
0003 execute_process(COMMAND qmlplugindump -nonrelocatable ${processedArgs} ${KDE_INSTALL_QMLDIR} > ${CMAKE_CURRENT_SOURCE_DIR}/plugins.qmltypes RESULT_VARIABLE code)
0004 if(code)
0005     message(FATAL_ERROR "Could not call qmlplugindump successfully. Exited with code ${code}")
0006 endif()
0007 
0008 execute_process(COMMAND diff -I "//*" ${INPUT} ${CMAKE_CURRENT_SOURCE_DIR}/plugins.qmltypes RESULT_VARIABLE code OUTPUT_VARIABLE out)
0009 if(code)
0010     message(FATAL_ERROR "both plugin dumps differ:\n${out}")
0011 endif()