qt5base-lts/examples/widgets/itemviews/chart/CMakeLists.txt
Tobias Hunger aa50b377a7 CMake: Add widgets examples
Change-Id: Ib6142b93df066e3658eb189b50ca74c455fe7e56
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2019-03-26 15:25:39 +00:00

31 lines
785 B
CMake

# Generated from chart.pro.
#####################################################################
## chart Binary:
#####################################################################
add_qt_executable(chart
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/chart"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/chart"
SOURCES
main.cpp
mainwindow.cpp mainwindow.h
pieview.cpp pieview.h
LIBRARIES
Qt::Widgets
)
# Resources:
add_qt_resource(chart "chart" PREFIX "/Charts" FILES
qtdata.cht)
## Scopes:
#####################################################################
extend_target(chart CONDITION UNIX AND NOT APPLE_OSX AND NOT HAIKU AND NOT INTEGRITY AND NOT VXWORKS
LIBRARIES
m
)