| 1 |
project(Dekko-Components) |
| 2 |
|
| 3 |
set(PLUGIN_TARGET componentsplugin) |
| 4 |
|
| 5 |
list(APPEND PLUGIN_SRCS |
| 6 |
ComponentsPlugin.cpp |
| 7 |
ImageHelper.cpp |
| 8 |
Introspector.cpp |
| 9 |
LogRecorder.cpp |
| 10 |
PixelPerfectItem.cpp |
| 11 |
StretchColumn.cpp |
| 12 |
StretchRow.cpp |
| 13 |
|
| 14 |
# For MOC |
| 15 |
Stretcher.h |
| 16 |
) |
| 17 |
|
| 18 |
add_library(${PLUGIN_TARGET} SHARED ${PLUGIN_SRCS}) |
| 19 |
|
| 20 |
target_link_libraries(${PLUGIN_TARGET} |
| 21 |
PUBLIC |
| 22 |
dekko-utils |
| 23 |
Qt5::Qml |
| 24 |
Qt5::Svg |
| 25 |
) |
| 26 |
|
| 27 |
install(TARGETS |
| 28 |
${PLUGIN_TARGET} |
| 29 |
DESTINATION ${QT_IMPORTS_DIR}/Dekko/Components |
| 30 |
) |
| 31 |
|
| 32 |
install(FILES |
| 33 |
qmldir |
| 34 |
DESTINATION ${QT_IMPORTS_DIR}/Dekko/Components |
| 35 |
) |