forked from LMMS/lmms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch ladspa CMT plugins to submodule
- Loading branch information
Showing
59 changed files
with
10 additions
and
11,119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.