46789eb1c8
this makes easier to develop a new plasmoid, there are two templates: one is for a pure QML plasmoid the othe rone has a C++ part
28 lines
557 B
CMake
28 lines
557 B
CMake
cmake_minimum_required(VERSION 2.8.12)
|
|
|
|
project(plasma-%{APPNAMELC})
|
|
|
|
find_package(ECM 1.4.0 REQUIRED NO_MODULE)
|
|
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
|
|
|
|
include(KDEInstallDirs)
|
|
include(KDECMakeSettings)
|
|
include(KDECompilerSettings)
|
|
include(ECMInstallIcons)
|
|
include(ECMMarkAsTest)
|
|
include(ECMMarkNonGuiExecutable)
|
|
include(FeatureSummary)
|
|
include(CheckIncludeFiles)
|
|
|
|
find_package(KF5 REQUIRED COMPONENTS
|
|
Plasma
|
|
I18n
|
|
)
|
|
|
|
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
|
|
Quick
|
|
Core
|
|
)
|
|
|
|
add_subdirectory(src)
|