install some plasmaquick headers

This commit is contained in:
Marco Martin 2015-11-24 10:58:05 +01:00
parent 2750155af4
commit ff83c3ac99
2 changed files with 19 additions and 8 deletions

View File

@ -21,8 +21,8 @@
#ifndef CUSTOMCORONA_H
#define CUSTOMCORONA_H
#include <plasma/corona.h>
#include "plasmaquick/containmentview.h"
#include <Plasma/Corona>
#include <PlasmaQuick/ContainmentView>
class CustomCorona : public Plasma::Corona
{

View File

@ -68,18 +68,29 @@ generate_export_header(KF5PlasmaQuick BASE_NAME PlasmaQuick)
set(plasmaquick_LIB_INCLUDES
${CMAKE_CURRENT_BINARY_DIR}/plasmaquick_export.h
appletquickitem.h
view.h
containmentview.h
configview.h
configmodel.h
dialog.h
packageurlinterceptor.h
)
#install(FILES ${plasmaquick_LIB_INCLUDES}
# DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/plasmaquick COMPONENT Devel)
ecm_generate_headers(PlasmaQuick_CamelCase_HEADERS
HEADER_NAMES
AppletQuickItem
ContainmentView
ConfigView
ConfigModel
Dialog
REQUIRED_HEADERS plasmaquick_LIB_INCLUDES
PREFIX PlasmaQuick
)
#install(DIRECTORY
# includes/PlasmaQuick
# DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/KDE COMPONENT Devel)
install(FILES ${plasmaquick_LIB_INCLUDES}
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/plasmaquick COMPONENT Devel)
install(FILES ${PlasmaQuick_CamelCase_HEADERS}
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/PlasmaQuick COMPONENT Devel)
set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5PlasmaQuick")