2023-03-29 15:49:17 +00:00
|
|
|
list(APPEND HEADERS
|
2023-03-08 09:11:36 +00:00
|
|
|
ShapeItem.h
|
|
|
|
GeometricShape.h
|
|
|
|
Window.h
|
|
|
|
Stroke.h)
|
|
|
|
|
2023-03-29 15:49:17 +00:00
|
|
|
list(APPEND SOURCES
|
2023-03-08 09:11:36 +00:00
|
|
|
Stroke.cpp
|
|
|
|
ShapeItem.cpp
|
|
|
|
GeometricShape.cpp
|
|
|
|
Window.cpp
|
|
|
|
main.cpp)
|
|
|
|
|
2023-03-31 16:12:38 +00:00
|
|
|
if( BUILD_QML_EXPORT )
|
|
|
|
list(APPEND RESOURCES shapes.qrc)
|
|
|
|
endif()
|
|
|
|
|
2023-04-01 11:58:56 +00:00
|
|
|
qsk_add_example(shapes)
|
2023-03-31 16:12:38 +00:00
|
|
|
|
|
|
|
if( BUILD_QML_EXPORT )
|
|
|
|
target_compile_definitions(shapes PRIVATE NO_QML)
|
|
|
|
endif()
|