diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-02-01 22:24:03 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-02-01 22:24:03 +0000 |
| commit | e394c172ceda1949ae6ba8325c98abfb433b0a89 (patch) | |
| tree | d6ab7fd4b456b3377179d5052b281efa7c619c4c /src/plugins/Transports/http/CMakeLists.txt | |
| parent | 10daaf2b2a0f3d505982095e2ce92bcf23a99ea0 (diff) | |
| download | qmmp-e394c172ceda1949ae6ba8325c98abfb433b0a89.tar.gz qmmp-e394c172ceda1949ae6ba8325c98abfb433b0a89.tar.bz2 qmmp-e394c172ceda1949ae6ba8325c98abfb433b0a89.zip | |
http plugin: added settings dialog
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1539 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Transports/http/CMakeLists.txt')
| -rw-r--r-- | src/plugins/Transports/http/CMakeLists.txt | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/plugins/Transports/http/CMakeLists.txt b/src/plugins/Transports/http/CMakeLists.txt index 939c22b12..60d623866 100644 --- a/src/plugins/Transports/http/CMakeLists.txt +++ b/src/plugins/Transports/http/CMakeLists.txt @@ -36,6 +36,7 @@ SET(libhttp_SRCS downloader.cpp httpinputfactory.cpp httpinputsource.cpp + settingsdialog.cpp ) SET(libhttp_MOC_HDRS @@ -43,8 +44,21 @@ SET(libhttp_MOC_HDRS httpinputfactory.h httpinputsource.h streamreader.h + settingsdialog.h ) +# resources +SET(libhttp_RCCS translations/translations.qrc) +QT4_ADD_RESOURCES(libhttp_RCC_SRCS ${libhttp_RCCS}) + +# user interface +SET(libhttp_UIS + settingsdialog.ui +) +QT4_WRAP_UI(libhttp_UIS_H ${libhttp_UIS}) + + + QT4_WRAP_CPP(libhttp_MOC_SRCS ${libhttp_MOC_HDRS}) # Don't forget to include output directory, otherwise @@ -52,7 +66,7 @@ QT4_WRAP_CPP(libhttp_MOC_SRCS ${libhttp_MOC_HDRS}) include_directories(${CMAKE_CURRENT_BINARY_DIR}) IF(CURL_FOUND) -ADD_LIBRARY(http MODULE ${libhttp_SRCS} ${libhttp_MOC_SRCS}) +ADD_LIBRARY(http MODULE ${libhttp_SRCS} ${libhttp_MOC_SRCS} ${libhttp_UIS_H} ${libhttp_RCC_SRCS}) add_dependencies(http qmmp) target_link_libraries(http ${QT_LIBRARIES} -lqmmp ${CURL_LDFLAGS} ${CURL_CFLAGS}) install(TARGETS http DESTINATION ${LIB_DIR}/qmmp/Transports) |
