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

0001 remove_definitions(-DQT_NO_CAST_FROM_ASCII)
0002 
0003 find_package(Qt${QT_MAJOR_VERSION} ${REQUIRED_QT_VERSION} CONFIG QUIET OPTIONAL_COMPONENTS Widgets)
0004 if(NOT TARGET Qt${QT_MAJOR_VERSION}::Widgets)
0005     message(STATUS "Qt${QT_MAJOR_VERSION}Widgets not found, examples will not be built.")
0006     return()
0007 endif()
0008 
0009 add_executable(kdirwatchtest_gui kdirwatchtest_gui.cpp)
0010 target_link_libraries(kdirwatchtest_gui Qt${QT_MAJOR_VERSION}::Widgets KF5::CoreAddons)
0011 
0012 add_executable(faceicontest faceicontest.cpp)
0013 target_link_libraries(faceicontest Qt${QT_MAJOR_VERSION}::Widgets KF5::CoreAddons)
0014 
0015 add_executable(texttohtmltest ktexttohtmltest.cpp)
0016 target_link_libraries(texttohtmltest Qt${QT_MAJOR_VERSION}::Widgets KF5::CoreAddons)