25 lines
585 B
CMake
25 lines
585 B
CMake
# SPDX-FileCopyrightText: 2023 Yury Gubich <blue@macaw.me>
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
qt_add_qml_module(magpieQml
|
|
URI magpie
|
|
VERSION 1.0
|
|
STATIC
|
|
RESOURCE_PREFIX /
|
|
OUTPUT_DIRECTORY magpie
|
|
NO_PLUGIN
|
|
QML_FILES
|
|
main.qml
|
|
ServerPick.qml
|
|
Welcome.qml
|
|
)
|
|
|
|
list(APPEND QML_DIRS ${CMAKE_CURRENT_BINARY_DIR})
|
|
set(QML_IMPORT_PATH "${QML_DIRS}" CACHE STRING "Qt Creator 11 extra qml import paths")
|
|
|
|
target_link_libraries(magpie PRIVATE magpieQml)
|
|
|
|
add_subdirectory(Forms)
|
|
add_subdirectory(Components)
|
|
add_subdirectory(Application)
|