qt5base-lts/examples/widgets/itemviews/puzzle/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

24 lines
679 B
CMake

# Generated from puzzle.pro.
#####################################################################
## puzzle Binary:
#####################################################################
add_qt_executable(puzzle_itemview # special case
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/puzzle"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/puzzle"
SOURCES
main.cpp
mainwindow.cpp mainwindow.h
piecesmodel.cpp piecesmodel.h
puzzlewidget.cpp puzzlewidget.h
LIBRARIES
Qt::Widgets
)
# Resources:
add_qt_resource(puzzle_itemview "puzzle" PREFIX "/images" FILES # special case
example.jpg)