-
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.
- could not rebuild on the currently used version of macOS => using latest Jamba/VST3 SDK (3.7.12) - this unfortunately triggers removing support for VST2
- Loading branch information
Showing
6 changed files
with
69 additions
and
118 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
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,42 +1,43 @@ | ||
cmake_minimum_required(VERSION 3.12) | ||
cmake_minimum_required(VERSION 3.19) | ||
|
||
include(FetchContent) | ||
|
||
if(JAMBA_ROOT_DIR) | ||
# instructs FetchContent to not download or update but use the location instead | ||
set(FETCHCONTENT_SOURCE_DIR_JAMBA ${JAMBA_ROOT_DIR}) | ||
else() | ||
set(FETCHCONTENT_SOURCE_DIR_JAMBA "") | ||
endif() | ||
set(JAMBA_GIT_REPO "https://github.com/pongasoft/jamba" CACHE STRING "Jamba git repository url") | ||
set(JAMBA_GIT_TAG v7.1.1 CACHE STRING "Jamba git tag") | ||
set(JAMBA_DOWNLOAD_URL "${JAMBA_GIT_REPO}/archive/refs/tags/v7.1.1.zip" CACHE STRING "Jamba download url") | ||
set(JAMBA_DOWNLOAD_URL_HASH "SHA256=16cadf1040e84007db6469a062675d0ba66e5e46d0b11cad46859b10109fc96a" CACHE STRING "Jamba download url hash") | ||
|
||
set(JAMBA_GIT_REPO "https://github.com/pongasoft/jamba" CACHE STRING "Jamba git repository url" FORCE) | ||
set(JAMBA_GIT_TAG v6.2.1 CACHE STRING "Jamba git tag" FORCE) | ||
|
||
FetchContent_Declare(jamba | ||
GIT_REPOSITORY ${JAMBA_GIT_REPO} | ||
GIT_TAG ${JAMBA_GIT_TAG} | ||
GIT_CONFIG advice.detachedHead=false | ||
GIT_SHALLOW true | ||
SOURCE_DIR "${CMAKE_BINARY_DIR}/jamba" | ||
if(JAMBA_ROOT_DIR) | ||
message(STATUS "Using jamba from local ${JAMBA_ROOT_DIR}") | ||
FetchContent_Populate(jamba | ||
QUIET | ||
SOURCE_DIR "${JAMBA_ROOT_DIR}" | ||
BINARY_DIR "${CMAKE_BINARY_DIR}/jamba-build" | ||
CONFIGURE_COMMAND "" | ||
BUILD_COMMAND "" | ||
INSTALL_COMMAND "" | ||
TEST_COMMAND "" | ||
) | ||
|
||
FetchContent_GetProperties(jamba) | ||
|
||
if(NOT jamba_POPULATED) | ||
|
||
if(FETCHCONTENT_SOURCE_DIR_JAMBA) | ||
message(STATUS "Using jamba from local ${FETCHCONTENT_SOURCE_DIR_JAMBA}") | ||
) | ||
else() | ||
if(JAMBA_DOWNLOAD_URL STREQUAL "" OR JAMBA_DOWNLOAD_URL_HASH STREQUAL "") | ||
message(STATUS "Fetching jamba from ${JAMBA_GIT_REPO}/tree/${JAMBA_GIT_TAG}") | ||
FetchContent_Populate(jamba | ||
QUIET | ||
GIT_REPOSITORY ${JAMBA_GIT_REPO} | ||
GIT_TAG ${JAMBA_GIT_TAG} | ||
GIT_CONFIG advice.detachedHead=false | ||
GIT_SHALLOW true | ||
SOURCE_DIR "${CMAKE_BINARY_DIR}/jamba" | ||
BINARY_DIR "${CMAKE_BINARY_DIR}/jamba-build" | ||
) | ||
else() | ||
message(STATUS "Fetching jamba ${JAMBA_GIT_REPO}/tree/${JAMBA_GIT_TAG}") | ||
message(STATUS "Fetching jamba from ${JAMBA_DOWNLOAD_URL}") | ||
FetchContent_Populate(jamba | ||
QUIET | ||
URL "${JAMBA_DOWNLOAD_URL}" | ||
URL_HASH "${JAMBA_DOWNLOAD_URL_HASH}" | ||
DOWNLOAD_EXTRACT_TIMESTAMP true | ||
SOURCE_DIR "${CMAKE_BINARY_DIR}/jamba" | ||
BINARY_DIR "${CMAKE_BINARY_DIR}/jamba-build" | ||
) | ||
endif() | ||
|
||
FetchContent_Populate(jamba) | ||
|
||
endif() | ||
|
||
set(JAMBA_ROOT_DIR ${jamba_SOURCE_DIR}) | ||
|
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 was deleted.
Oops, something went wrong.