calamares/src/modules/partition/CMakeLists.txt

55 lines
1.3 KiB
CMake
Raw Normal View History

project( PartitionModule )
if( WITH_PARTITIONMANAGER )
add_subdirectory( partitionmanager/calamares )
## 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-06-27 17:25:39 +02:00
add_definitions( -DCALAMARES )
add_subdirectory( tests )
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
BootLoaderModel.cpp
CreatePartitionDialog.cpp
CreatePartitionJob.cpp
CreatePartitionTableJob.cpp
2014-07-02 15:49:35 +02:00
DeletePartitionJob.cpp
2014-06-27 17:25:39 +02:00
DeviceModel.cpp
EditExistingPartitionDialog.cpp
2014-07-22 17:32:26 +02:00
FillGlobalStorageJob.cpp
FormatPartitionJob.cpp
2014-07-01 10:58:54 +02:00
PartitionCoreModule.cpp
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
PartitionViewStep.cpp
2014-06-30 15:03:29 +02:00
PMUtils.cpp
2014-06-27 17:25:39 +02:00
UI
CreatePartitionDialog.ui
CreatePartitionTableDialog.ui
EditExistingPartitionDialog.ui
2014-06-27 17:25:39 +02:00
PartitionPage.ui
LINK_LIBRARIES
calapm
calamaresui
2014-07-02 17:25:59 +02:00
KF5::CoreAddons
2014-06-27 17:25:39 +02:00
SHARED_LIB
)
endif( WITH_PARTITIONMANAGER )