Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CMT Submodule #5755

Merged
merged 3 commits into from
Nov 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@
[submodule "src/3rdparty/jack2"]
path = src/3rdparty/jack2
url = https://github.com/jackaudio/jack2
[submodule "plugins/LadspaEffect/cmt/cmt"]
path = plugins/LadspaEffect/cmt/cmt
url = https://github.com/lmms/cmt
12 changes: 6 additions & 6 deletions plugins/LadspaEffect/cmt/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/include")
FILE(GLOB_RECURSE SOURCES src/*.cpp)
FILE(GLOB_RECURSE SOURCES cmt/src/*.cpp)
LIST(SORT SOURCES)
ADD_LIBRARY(cmt MODULE ${SOURCES})
INSTALL(TARGETS cmt LIBRARY DESTINATION "${PLUGIN_DIR}/ladspa")

SET_TARGET_PROPERTIES(cmt PROPERTIES PREFIX "")
SET_TARGET_PROPERTIES(cmt PROPERTIES COMPILE_FLAGS "-Wall -O3 -fno-strict-aliasing")

IF(LMMS_BUILD_WIN32)
ADD_CUSTOM_COMMAND(TARGET cmt POST_BUILD COMMAND "${STRIP}" \"$<TARGET_FILE:cmt>\")
ELSE(LMMS_BUILD_WIN32)
IF(LMMS_BUILD_WIN32 AND NOT CMAKE_BUILD_TYPE MATCHES "Deb")
ADD_CUSTOM_COMMAND(TARGET cmt POST_BUILD COMMAND "${STRIP}" "$<TARGET_FILE:cmt>")
ELSE()
SET_TARGET_PROPERTIES(cmt PROPERTIES COMPILE_FLAGS "${COMPILE_FLAGS} -fPIC")
ENDIF(LMMS_BUILD_WIN32)
ENDIF()

IF(NOT LMMS_BUILD_APPLE AND NOT LMMS_BUILD_OPENBSD)
SET_TARGET_PROPERTIES(cmt PROPERTIES LINK_FLAGS "${LINK_FLAGS} -shared -Wl,-no-undefined")
ENDIF(NOT LMMS_BUILD_APPLE AND NOT LMMS_BUILD_OPENBSD)
ENDIF()

7 changes: 0 additions & 7 deletions plugins/LadspaEffect/cmt/README

This file was deleted.

1 change: 1 addition & 0 deletions plugins/LadspaEffect/cmt/cmt
Submodule cmt added at f7c25e
340 changes: 0 additions & 340 deletions plugins/LadspaEffect/cmt/doc/COPYING

This file was deleted.

54 changes: 0 additions & 54 deletions plugins/LadspaEffect/cmt/doc/adding_plugins.html

This file was deleted.

20 changes: 0 additions & 20 deletions plugins/LadspaEffect/cmt/doc/bugs.html

This file was deleted.

149 changes: 0 additions & 149 deletions plugins/LadspaEffect/cmt/doc/changes.html

This file was deleted.

26 changes: 0 additions & 26 deletions plugins/LadspaEffect/cmt/doc/index.html

This file was deleted.

19 changes: 0 additions & 19 deletions plugins/LadspaEffect/cmt/doc/installation.html

This file was deleted.

16 changes: 0 additions & 16 deletions plugins/LadspaEffect/cmt/doc/license.html

This file was deleted.

14 changes: 0 additions & 14 deletions plugins/LadspaEffect/cmt/doc/overview.html

This file was deleted.

Loading