Warning, /libraries/kreport/examples/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 find_package(Qt5Widgets REQUIRED)
0002 find_package(KF5WidgetsAddons)
0003 find_package(KF5GuiAddons)
0004 
0005 remove_definitions(
0006     -DQT_NO_KEYWORDS
0007     -DQT_NO_SIGNALS_SLOTS_KEYWORDS
0008     -DQT_NO_CAST_FROM_ASCII
0009 )
0010 
0011 add_definitions(-DKREPORTEXAMPLE_DATA_DIR="\\"${CMAKE_CURRENT_SOURCE_DIR}\\"")
0012 
0013 set(kreportexample_SRCS main.cpp
0014         window.cpp
0015         DesignerWidget.cpp
0016         KReportExampleDataSource.cpp
0017 )
0018 add_executable(kreportexample ${kreportexample_SRCS})
0019 target_link_libraries(kreportexample KF5::ConfigGui KReport KReportUtilsPrivate)