2020-08-25 16:05:56 +02:00
|
|
|
# === This file is part of Calamares - <https://calamares.io> ===
|
2020-08-26 00:24:52 +02:00
|
|
|
#
|
|
|
|
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
#
|
2022-02-08 16:18:47 +01:00
|
|
|
if(NOT WITH_QML)
|
2020-05-14 15:54:19 +02:00
|
|
|
calamares_skip_module( "keyboardq (QML is not supported in this build)" )
|
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
2022-02-08 16:18:47 +01:00
|
|
|
set(_keyboard ${CMAKE_CURRENT_SOURCE_DIR}/../keyboard)
|
2020-03-25 16:08:12 +01:00
|
|
|
|
2022-02-08 16:18:47 +01:00
|
|
|
include_directories(${_keyboard})
|
2020-03-25 16:08:12 +01:00
|
|
|
|
2022-02-08 16:18:47 +01:00
|
|
|
calamares_add_plugin(keyboardq
|
2020-03-25 16:08:12 +01:00
|
|
|
TYPE viewmodule
|
|
|
|
EXPORT_MACRO PLUGINDLLEXPORT_PRO
|
|
|
|
SOURCES
|
|
|
|
KeyboardQmlViewStep.cpp
|
|
|
|
${_keyboard}/Config.cpp
|
|
|
|
${_keyboard}/KeyboardLayoutModel.cpp
|
|
|
|
${_keyboard}/SetKeyboardLayoutJob.cpp
|
|
|
|
${_keyboard}/keyboardwidget/keyboardglobal.cpp
|
|
|
|
RESOURCES
|
2020-04-03 12:23:21 +02:00
|
|
|
keyboardq.qrc
|
2020-03-25 16:08:12 +01:00
|
|
|
SHARED_LIB
|
|
|
|
)
|