qskinny/playground/shapes/CMakeLists.txt

23 lines
611 B
CMake
Raw Normal View History

2023-04-01 15:34:43 +00:00
############################################################################
# QSkinny - Copyright (C) 2016 Uwe Rathmann
# This file may be used under the terms of the 3-clause BSD License
############################################################################
2023-04-01 15:34:43 +00:00
set(SOURCES
ShapeItem.h ShapeItem.cpp
GeometricShape.h GeometricShape.cpp
Stroke.h Stroke.cpp
Window.h Window.cpp
main.cpp
)
if( BUILD_QML_EXPORT )
2023-04-01 15:34:43 +00:00
qt_add_resources(SOURCES shapes.qrc)
endif()
2023-04-01 15:34:43 +00:00
qsk_add_example(shapes ${SOURCES})
2023-04-01 15:34:43 +00:00
if( NOT BUILD_QML_EXPORT )
target_compile_definitions(shapes PRIVATE NO_QML)
endif()