aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui')
-rw-r--r--src/qmmpui/CMakeLists.txt15
-rw-r--r--src/qmmpui/qmmpui.pro17
2 files changed, 31 insertions, 1 deletions
diff --git a/src/qmmpui/CMakeLists.txt b/src/qmmpui/CMakeLists.txt
index 174c4037c..43dde6ef9 100644
--- a/src/qmmpui/CMakeLists.txt
+++ b/src/qmmpui/CMakeLists.txt
@@ -48,6 +48,20 @@ SET(libqmmpui_MOC_HDRS
qtfiledialog.h
)
+SET(libqmmpui_DEVEL_HDRS
+ generalfactory.h
+ general.h
+ generalhandler.h
+ songinfo.h
+ control.h
+ playlistparser.h
+ playlistformat.h
+ commandlinemanager.h
+ commandlineoption.h
+ filedialog.h
+ filedialogfactory.h
+)
+
QT4_ADD_RESOURCES(libqmmpui_RCC_SRCS translations/libqmmpui_locales.qrc)
@@ -59,3 +73,4 @@ ADD_LIBRARY(qmmpui SHARED ${libqmmpui_SRCS} ${libqmmpui_MOC_SRCS} ${libqmmpui_RC
target_link_libraries(qmmpui ${QT_LIBRARIES})
SET_TARGET_PROPERTIES(qmmpui PROPERTIES VERSION ${QMMP_VERSION} SOVERSION ${QMMP_SOVERSION})
install(TARGETS qmmpui LIBRARY DESTINATION ${LIB_DIR})
+install(FILES ${libqmmpui_DEVEL_HDRS} DESTINATION include/qmmpui)
diff --git a/src/qmmpui/qmmpui.pro b/src/qmmpui/qmmpui.pro
index a71266e7f..adb97de3e 100644
--- a/src/qmmpui/qmmpui.pro
+++ b/src/qmmpui/qmmpui.pro
@@ -24,7 +24,7 @@ contains(CONFIG, SVN_VERSION){
VERSION = $$QMMP_VERSION
target.path = $$LIB_DIR
-INSTALLS += target
+
HEADERS += general.h \
generalfactory.h \
generalhandler.h \
@@ -59,3 +59,18 @@ TRANSLATIONS = translations/libqmmpui_ru.ts \
translations/libqmmpui_zh_TW.ts \
translations/libqmmpui_de.ts
+devel.files += general.h \
+ generalfactory.h \
+ generalhandler.h \
+ songinfo.h \
+ control.h \
+ playlistformat.h \
+ playlistparser.h \
+ commandlinemanager.h \
+ commandlineoption.h \
+ filedialog.h \
+ filedialogfactory.h
+
+devel.path = /include/qmmpui
+
+INSTALLS += target devel