2023-04-05 17:47:15 +02:00
|
|
|
############################################################################
|
|
|
|
# QSkinny - Copyright (C) 2016 Uwe Rathmann
|
2023-04-06 09:23:37 +02:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2023-04-05 17:47:15 +02: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 )
|
|
|
|
qt_add_resources(SOURCES shapes.qrc)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
qsk_add_example(shapes ${SOURCES})
|
|
|
|
|
|
|
|
if( NOT BUILD_QML_EXPORT )
|
|
|
|
target_compile_definitions(shapes PRIVATE NO_QML)
|
|
|
|
endif()
|