mirror of
https://codeberg.org/armin/sm-26.git
synced 2026-10-11 17:01:53 +02:00
Fetch JUCE into build/, tidy gitignore, expand README
This commit is contained in:
parent
4a761729f8
commit
ab9ea542a7
12 changed files with 350 additions and 149 deletions
|
|
@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
if(NOT DEFINED JUCE_ROOT)
|
||||
set(JUCE_ROOT "${CMAKE_CURRENT_SOURCE_DIR}/deps/juce")
|
||||
set(JUCE_ROOT "${CMAKE_CURRENT_BINARY_DIR}/juce")
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED CMAKE_BUILD_TYPE)
|
||||
|
|
@ -14,7 +14,7 @@ if(NOT DEFINED CMAKE_BUILD_TYPE)
|
|||
endif()
|
||||
|
||||
if(NOT EXISTS "${JUCE_ROOT}/CMakeLists.txt")
|
||||
message(FATAL_ERROR "JUCE not found at ${JUCE_ROOT}. Run 'make deps' first.")
|
||||
message(FATAL_ERROR "JUCE not found at ${JUCE_ROOT}. Run 'make deps' first (clones JUCE into build/).")
|
||||
endif()
|
||||
|
||||
add_subdirectory("${JUCE_ROOT}" juce_build)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue