Skip to content

Commit

Permalink
Add CMT Submodule (LMMS#5755)
Browse files Browse the repository at this point in the history
Switch ladspa CMT plugins to submodule
  • Loading branch information
tresf authored Nov 1, 2020
1 parent 7847c30 commit 201db7d
Show file tree
Hide file tree
Showing 59 changed files with 10 additions and 11,119 deletions.
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

0 comments on commit 201db7d

Please sign in to comment.