diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-07-21 19:47:36 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-07-21 19:47:36 +0000 |
| commit | fbca71ada4679872548207e5f679df34b04f5be6 (patch) | |
| tree | 7c19a686fca11b24b22fe8093c44803e45d45ee1 /src | |
| parent | 29b2cc73ae2745fb16f75273d21cf0652b507547 (diff) | |
| download | qmmp-fbca71ada4679872548207e5f679df34b04f5be6.tar.gz qmmp-fbca71ada4679872548207e5f679df34b04f5be6.tar.bz2 qmmp-fbca71ada4679872548207e5f679df34b04f5be6.zip | |
devel files installation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@463 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
| -rw-r--r-- | src/qmmp/CMakeLists.txt | 53 | ||||
| -rw-r--r-- | src/qmmp/qmmp.pro | 21 | ||||
| -rw-r--r-- | src/qmmpui/CMakeLists.txt | 15 | ||||
| -rw-r--r-- | src/qmmpui/qmmpui.pro | 17 |
4 files changed, 87 insertions, 19 deletions
diff --git a/src/qmmp/CMakeLists.txt b/src/qmmp/CMakeLists.txt index cb8bc76f2..8ae692e6a 100644 --- a/src/qmmp/CMakeLists.txt +++ b/src/qmmp/CMakeLists.txt @@ -45,25 +45,43 @@ SET(libqmmp_SRCS ) SET(libqmmp_MOC_HDRS - visual.h - recycler.h - buffer.h - constants.h - decoder.h - output.h - filetag.h - outputfactory.h - equ/iir_cfs.h - equ/iir_fpu.h - equ/iir.h - decoderfactory.h - soundcore.h - streamreader.h - downloader.h - effectfactory.h - effect.h + visual.h + recycler.h + buffer.h + constants.h + decoder.h + output.h + filetag.h + outputfactory.h + equ/iir_cfs.h + equ/iir_fpu.h + equ/iir.h + decoderfactory.h + soundcore.h + streamreader.h + downloader.h + effectfactory.h + effect.h ) +SET(libqmmp_DEVEL_HDRS + visual.h + recycler.h + buffer.h + constants.h + decoder.h + output.h + filetag.h + outputfactory.h + decoderfactory.h + soundcore.h + streamreader.h + downloader.h + effectfactory.h + effect.h +) + + QT4_WRAP_CPP(libqmmp_MOC_SRCS ${libqmmp_MOC_HDRS}) include_directories(${CMAKE_CURRENT_BINARY_DIR}) @@ -72,3 +90,4 @@ ADD_LIBRARY(libqmmp SHARED ${libqmmp_SRCS} ${libqmmp_MOC_SRCS}) target_link_libraries(libqmmp ${QT_LIBRARIES} ${CURL_LDFLAGS} ${CURL_CFLAGS}) SET_TARGET_PROPERTIES(libqmmp PROPERTIES VERSION ${QMMP_VERSION} SOVERSION ${QMMP_SOVERSION} OUTPUT_NAME qmmp) install(TARGETS libqmmp LIBRARY DESTINATION ${LIB_DIR}) +install(FILES ${libqmmp_DEVEL_HDRS} DESTINATION include/qmmp) diff --git a/src/qmmp/qmmp.pro b/src/qmmp/qmmp.pro index a7cedbf31..1f95fc743 100644 --- a/src/qmmp/qmmp.pro +++ b/src/qmmp/qmmp.pro @@ -55,5 +55,24 @@ DEFINES += QMMP_STR_VERSION=\\\"$$QMMP_VERSION\\\" } target.path = $$LIB_DIR -INSTALLS += target + +devel.files += recycler.h \ + buffer.h \ + constants.h \ + decoder.h \ + output.h \ + filetag.h \ + outputfactory.h \ + decoderfactory.h \ + soundcore.h \ + streamreader.h \ + downloader.h \ + visual.h \ + visualfactory.h \ + effect.h \ + effectfactory.h + +devel.path = /include/qmmp + +INSTALLS += target devel DESTDIR = . 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 |
