diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-11-14 16:27:25 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-11-14 16:27:25 +0000 |
| commit | e9ba8bc30f7e3c1f605b4db93d5eb4d0f3f2c69b (patch) | |
| tree | 08ffbe1ad251e4d46189592a252f436a292a13f9 /src/plugins/Effect | |
| parent | fe8438b03074b381355145ecf4a4177ac0c58049 (diff) | |
| download | qmmp-e9ba8bc30f7e3c1f605b4db93d5eb4d0f3f2c69b.tar.gz qmmp-e9ba8bc30f7e3c1f605b4db93d5eb4d0f3f2c69b.tar.bz2 qmmp-e9ba8bc30f7e3c1f605b4db93d5eb4d0f3f2c69b.zip | |
updated cmake support and documentation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8427 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Effect')
| -rw-r--r-- | src/plugins/Effect/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | src/plugins/Effect/monotostereo/CMakeLists.txt | 36 |
2 files changed, 41 insertions, 0 deletions
diff --git a/src/plugins/Effect/CMakeLists.txt b/src/plugins/Effect/CMakeLists.txt index 0c09642f9..b43243d96 100644 --- a/src/plugins/Effect/CMakeLists.txt +++ b/src/plugins/Effect/CMakeLists.txt @@ -4,6 +4,7 @@ SET(USE_LADSPA TRUE CACHE BOOL "enable/disable ladspa plugin") SET(USE_CROSSFADE TRUE CACHE BOOL "enable/disable crossfade plugin") SET(USE_STEREO TRUE CACHE BOOL "enable/disable extra stereo plugin") SET(USE_FILEWRITER TRUE CACHE BOOL "enable/disable file writer plugin") +SET(USE_MONOTOSTEREO TRUE CACHE BOOL "enable/disable mono to stereo converter plugin") IF(USE_SOXR) add_subdirectory(soxr) @@ -28,3 +29,7 @@ ENDIF(USE_STEREO) IF(USE_FILEWRITER) add_subdirectory(filewriter) ENDIF(USE_FILEWRITER) + +IF(USE_MONOTOSTEREO) +add_subdirectory(monotostereo) +ENDIF(USE_MONOTOSTEREO) diff --git a/src/plugins/Effect/monotostereo/CMakeLists.txt b/src/plugins/Effect/monotostereo/CMakeLists.txt new file mode 100644 index 000000000..6cb1819b1 --- /dev/null +++ b/src/plugins/Effect/monotostereo/CMakeLists.txt @@ -0,0 +1,36 @@ +project(libmonotostereo) + +include_directories(${CMAKE_CURRENT_BINARY_DIR}) + +# libqmmp +include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../../) +link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmp) + +SET(libmonotostereo_SRCS + monotostereoplugin.cpp + effectmonotostereofactory.cpp +) + +SET(libmonotostereo_HDRS + monotostereoplugin.h +) + +SET(libmonotostereo_RCCS translations/translations.qrc) + +QT5_ADD_RESOURCES(libmonotostereo_RCC_SRCS ${libmonotostereo_RCCS}) + +# user interface + +SET(libmonotostereo_UIS + settingsdialog.ui +) + +# Don't forget to include output directory, otherwise +# the UI file won't be wrapped! +include_directories(${CMAKE_CURRENT_BINARY_DIR}) + + +ADD_LIBRARY(monotostereo MODULE ${libmonotostereo_SRCS} ${libmonotostereo_RCC_SRCS} ${libmonotostereo_HDRS}) +add_dependencies(monotostereo libqmmp) +target_link_libraries(monotostereo Qt5::Widgets libqmmp) +install(TARGETS monotostereo DESTINATION ${PLUGIN_DIR}/Effect) |
