2014-07-17 17:57:55 +02:00
|
|
|
project( PartitionModule )
|
|
|
|
|
2014-06-27 17:41:55 +02:00
|
|
|
if( WITH_PARTITIONMANAGER )
|
|
|
|
|
2014-07-15 11:54:09 +02:00
|
|
|
add_subdirectory( partitionmanager/calamares )
|
|
|
|
|
2014-07-05 23:28:13 +02:00
|
|
|
## ECM
|
|
|
|
find_package(ECM 0.0.13 REQUIRED NO_MODULE)
|
|
|
|
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH})
|
|
|
|
include(KDEInstallDirs)
|
|
|
|
include(GenerateExportHeader)
|
|
|
|
|
|
|
|
find_package( KF5 REQUIRED CoreAddons )
|
2014-07-03 18:00:40 +02:00
|
|
|
|
2014-06-27 17:25:39 +02:00
|
|
|
add_definitions( -DCALAMARES )
|
|
|
|
|
2014-07-17 17:57:55 +02:00
|
|
|
add_subdirectory( tests )
|
|
|
|
|
2014-07-03 18:00:40 +02:00
|
|
|
include_directories( ${PROJECT_BINARY_DIR}/src/libcalamaresui )
|
2014-06-27 17:25:39 +02:00
|
|
|
calamares_add_plugin( partition
|
|
|
|
TYPE viewmodule
|
|
|
|
EXPORT_MACRO PLUGINDLLEXPORT_PRO
|
|
|
|
CONFIG_FILE module.conf
|
|
|
|
SOURCES
|
2014-06-30 18:08:13 +02:00
|
|
|
CreatePartitionDialog.cpp
|
|
|
|
CreatePartitionJob.cpp
|
2014-07-10 19:55:16 +02:00
|
|
|
CreatePartitionTableJob.cpp
|
2014-07-02 15:49:35 +02:00
|
|
|
DeletePartitionJob.cpp
|
2014-06-27 17:25:39 +02:00
|
|
|
DeviceModel.cpp
|
2014-07-18 15:06:56 +02:00
|
|
|
EditExistingPartitionDialog.cpp
|
2014-07-22 17:32:26 +02:00
|
|
|
FillGlobalStorageJob.cpp
|
2014-07-18 15:06:56 +02:00
|
|
|
FormatPartitionJob.cpp
|
2014-07-01 10:58:54 +02:00
|
|
|
PartitionCoreModule.cpp
|
2014-07-04 17:33:26 +02:00
|
|
|
PartitionInfo.cpp
|
2014-07-22 14:25:21 +02:00
|
|
|
PartitionIterator.cpp
|
2014-07-18 14:29:27 +02:00
|
|
|
PartitionJob.cpp
|
2014-06-27 17:25:39 +02:00
|
|
|
PartitionModel.cpp
|
|
|
|
PartitionPage.cpp
|
2014-06-30 13:24:59 +02:00
|
|
|
PartitionViewStep.cpp
|
2014-06-30 15:03:29 +02:00
|
|
|
PMUtils.cpp
|
2014-06-27 17:25:39 +02:00
|
|
|
UI
|
2014-06-30 18:08:13 +02:00
|
|
|
CreatePartitionDialog.ui
|
2014-07-15 14:40:08 +02:00
|
|
|
CreatePartitionTableDialog.ui
|
2014-07-17 09:49:15 +02:00
|
|
|
EditExistingPartitionDialog.ui
|
2014-06-27 17:25:39 +02:00
|
|
|
PartitionPage.ui
|
|
|
|
LINK_LIBRARIES
|
|
|
|
calapm
|
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
|
|
|
|
)
|
|
|
|
|
2014-06-27 17:41:55 +02:00
|
|
|
endif( WITH_PARTITIONMANAGER )
|