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:12:25 +01:00
|
|
|
calamares_add_plugin(netinstall
|
2016-06-26 00:26:08 +02:00
|
|
|
TYPE viewmodule
|
|
|
|
EXPORT_MACRO PLUGINDLLEXPORT_PRO
|
|
|
|
SOURCES
|
2020-03-24 12:02:16 +01:00
|
|
|
Config.cpp
|
2021-03-17 00:09:15 +01:00
|
|
|
LoaderQueue.cpp
|
2016-06-26 00:26:08 +02:00
|
|
|
NetInstallViewStep.cpp
|
|
|
|
NetInstallPage.cpp
|
2017-01-23 13:42:40 +01:00
|
|
|
PackageTreeItem.cpp
|
|
|
|
PackageModel.cpp
|
2016-06-26 00:26:08 +02:00
|
|
|
UI
|
|
|
|
page_netinst.ui
|
2016-12-07 16:37:29 +01:00
|
|
|
LINK_PRIVATE_LIBRARIES
|
|
|
|
Qt5::Network
|
2016-06-26 00:26:08 +02:00
|
|
|
SHARED_LIB
|
|
|
|
)
|
2020-03-22 21:08:32 +01:00
|
|
|
|
2022-02-08 16:12:25 +01:00
|
|
|
if(KF5CoreAddons_FOUND)
|
|
|
|
calamares_add_test(
|
|
|
|
netinstalltest
|
|
|
|
SOURCES Tests.cpp Config.cpp LoaderQueue.cpp PackageTreeItem.cpp PackageModel.cpp
|
|
|
|
LIBRARIES Qt5::Gui KF5::CoreAddons
|
|
|
|
)
|
|
|
|
endif()
|