2017-10-31 13:25:57 +01:00
|
|
|
find_package(ECM ${ECM_VERSION} REQUIRED NO_MODULE)
|
2014-07-05 23:28:13 +02:00
|
|
|
|
2017-07-11 12:24:12 +02:00
|
|
|
include(KDEInstallDirs)
|
|
|
|
include(GenerateExportHeader)
|
2017-09-30 18:08:38 +02:00
|
|
|
find_package( Qt5 REQUIRED DBus )
|
2017-10-04 14:46:12 +02:00
|
|
|
find_package( KF5 REQUIRED Config CoreAddons I18n WidgetsAddons )
|
2015-07-01 18:57:09 +02:00
|
|
|
|
2017-12-15 12:37:02 +01:00
|
|
|
find_package( KPMcore 3.3 REQUIRED )
|
2014-06-27 17:25:39 +02:00
|
|
|
|
2016-05-05 07:57:56 +02:00
|
|
|
include_directories( ${KPMCORE_INCLUDE_DIR} )
|
2017-06-20 13:10:29 +02:00
|
|
|
include_directories( ${PROJECT_BINARY_DIR}/src/libcalamaresui )
|
|
|
|
|
|
|
|
add_subdirectory( tests )
|
2014-09-03 18:09:37 +02:00
|
|
|
|
2014-06-27 17:25:39 +02:00
|
|
|
calamares_add_plugin( partition
|
|
|
|
TYPE viewmodule
|
|
|
|
EXPORT_MACRO PLUGINDLLEXPORT_PRO
|
|
|
|
SOURCES
|
2014-08-08 13:25:56 +02:00
|
|
|
core/BootLoaderModel.cpp
|
|
|
|
core/ColorUtils.cpp
|
2017-07-11 14:54:56 +02:00
|
|
|
core/DeviceList.cpp
|
2014-08-08 13:25:56 +02:00
|
|
|
core/DeviceModel.cpp
|
2015-09-18 15:41:07 +02:00
|
|
|
core/KPMHelpers.cpp
|
2015-10-29 17:33:15 +01:00
|
|
|
core/PartitionActions.cpp
|
2014-08-08 13:25:56 +02:00
|
|
|
core/PartitionCoreModule.cpp
|
|
|
|
core/PartitionInfo.cpp
|
|
|
|
core/PartitionIterator.cpp
|
|
|
|
core/PartitionModel.cpp
|
2015-09-18 15:41:07 +02:00
|
|
|
core/PartUtils.cpp
|
2016-04-22 16:00:19 +02:00
|
|
|
gui/BootInfoWidget.cpp
|
2014-09-03 18:09:37 +02:00
|
|
|
gui/ChoicePage.cpp
|
2014-08-08 13:25:56 +02:00
|
|
|
gui/CreatePartitionDialog.cpp
|
2015-11-27 17:24:24 +01:00
|
|
|
gui/DeviceInfoWidget.cpp
|
2016-04-22 16:00:19 +02:00
|
|
|
gui/EditExistingPartitionDialog.cpp
|
|
|
|
gui/EncryptWidget.cpp
|
2014-08-08 13:25:56 +02:00
|
|
|
gui/PartitionPage.cpp
|
2015-12-03 17:19:02 +01:00
|
|
|
gui/PartitionBarsView.cpp
|
2015-12-03 19:38:56 +01:00
|
|
|
gui/PartitionLabelsView.cpp
|
2014-08-08 13:25:56 +02:00
|
|
|
gui/PartitionSizeController.cpp
|
2014-10-06 18:30:23 +02:00
|
|
|
gui/PartitionSplitterWidget.cpp
|
2014-08-08 13:25:56 +02:00
|
|
|
gui/PartitionViewStep.cpp
|
2014-09-03 18:09:37 +02:00
|
|
|
gui/PrettyRadioButton.cpp
|
2015-12-30 16:36:30 +01:00
|
|
|
gui/ScanningDialog.cpp
|
2015-11-20 14:48:47 +01:00
|
|
|
gui/ReplaceWidget.cpp
|
2014-11-28 15:50:27 +01:00
|
|
|
jobs/ClearMountsJob.cpp
|
2015-02-27 19:07:17 +01:00
|
|
|
jobs/ClearTempMountsJob.cpp
|
2014-08-08 13:25:56 +02:00
|
|
|
jobs/CreatePartitionJob.cpp
|
|
|
|
jobs/CreatePartitionTableJob.cpp
|
|
|
|
jobs/DeletePartitionJob.cpp
|
|
|
|
jobs/FillGlobalStorageJob.cpp
|
|
|
|
jobs/FormatPartitionJob.cpp
|
|
|
|
jobs/PartitionJob.cpp
|
|
|
|
jobs/ResizePartitionJob.cpp
|
2016-03-04 19:10:16 +01:00
|
|
|
jobs/SetPartitionFlagsJob.cpp
|
2014-06-27 17:25:39 +02:00
|
|
|
UI
|
2015-09-30 17:24:37 +02:00
|
|
|
gui/ChoicePage.ui
|
2014-08-08 13:25:56 +02:00
|
|
|
gui/CreatePartitionDialog.ui
|
|
|
|
gui/CreatePartitionTableDialog.ui
|
|
|
|
gui/EditExistingPartitionDialog.ui
|
2016-04-22 16:00:19 +02:00
|
|
|
gui/EncryptWidget.ui
|
2014-08-08 13:25:56 +02:00
|
|
|
gui/PartitionPage.ui
|
2015-11-20 14:48:47 +01:00
|
|
|
gui/ReplaceWidget.ui
|
2016-12-07 16:37:29 +01:00
|
|
|
LINK_PRIVATE_LIBRARIES
|
2015-07-01 18:57:09 +02:00
|
|
|
kpmcore
|
2014-07-03 18:00:40 +02:00
|
|
|
calamaresui
|
2014-07-02 17:25:59 +02:00
|
|
|
KF5::CoreAddons
|
2014-06-27 17:25:39 +02:00
|
|
|
SHARED_LIB
|
|
|
|
)
|