-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
429 additions
and
377 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Dylib bundler for macOS | ||
# Requires the external program "dylibbundler" | ||
|
||
if(APPLE) | ||
find_program(DYLIBBUNDLER_PROGRAM "dylibbundler") | ||
if(NOT DYLIBBUNDLER_PROGRAM) | ||
message(WARNING "The installation helper \"dylibbundler\" is not available.") | ||
endif() | ||
endif() | ||
|
||
function(bundle_dylibs NAME PATH) | ||
if(NOT APPLE OR NOT DYLIBBUNDLER_PROGRAM) | ||
return() | ||
endif() | ||
|
||
set(_relative_libdir "../libs") | ||
|
||
get_filename_component(_dir "${PATH}" DIRECTORY) | ||
set(_dir "${_dir}/${_relative_libdir}") | ||
|
||
set(_script "${CMAKE_CURRENT_BINARY_DIR}/_bundle-dylibs.${NAME}.cmake") | ||
|
||
file(WRITE "${_script}" | ||
"execute_process(COMMAND \"${DYLIBBUNDLER_PROGRAM}\" | ||
\"-cd\" \"-of\" \"-b\" | ||
\"-x\" \"\$ENV{DESTDIR}${PATH}\" | ||
\"-d\" \"\$ENV{DESTDIR}${_dir}\" | ||
\"-p\" \"@loader_path/${_relative_libdir}/\") | ||
") | ||
|
||
install(SCRIPT "${_script}" ${ARGN}) | ||
endfunction() |
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 |
---|---|---|
|
@@ -3,12 +3,17 @@ set (VSTPLUGIN_VENDOR "Paul Ferrand") | |
set (VSTPLUGIN_URL "http://sfztools.github.io/sfizz") | ||
set (VSTPLUGIN_EMAIL "[email protected]") | ||
|
||
if (MSVC) | ||
if (APPLE) | ||
set (VSTPLUGIN_INSTALL_DIR "$ENV{HOME}/Library/Audio/Plug-Ins/VST3" CACHE STRING | ||
"Install destination for VST bundle [default: $ENV{HOME}/Library/Audio/Plug-Ins/VST3]") | ||
set (AUPLUGIN_INSTALL_DIR "$ENV{HOME}/Library/Audio/Plug-Ins/Components" CACHE STRING | ||
"Install destination for AudioUnit bundle [default: $ENV{HOME}/Library/Audio/Plug-Ins/Components]") | ||
elseif (MSVC) | ||
set (VSTPLUGIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/vst3" CACHE STRING | ||
"Install destination for VST bundle [default: ${CMAKE_INSTALL_PREFIX}/vst3}]") | ||
"Install destination for VST bundle [default: ${CMAKE_INSTALL_PREFIX}/vst3]") | ||
else() | ||
set (VSTPLUGIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib/vst3" CACHE STRING | ||
"Install destination for VST bundle [default: ${CMAKE_INSTALL_PREFIX}/lib/vst3}]") | ||
"Install destination for VST bundle [default: ${CMAKE_INSTALL_PREFIX}/lib/vst3]") | ||
endif() | ||
|
||
if (NOT VST3_SYSTEM_PROCESSOR) | ||
|
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
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.