Skip to content

Commit

Permalink
Merge branch 'upstreamdev' into upstreammain
Browse files Browse the repository at this point in the history
# Conflicts:
#	CMakeLists.txt
#	help/fluid.ampslice~.maxhelp
#	help/fluid.bufaudiotransport~.maxhelp
#	help/fluid.dataset~.maxhelp
#	help/fluid.waveform~.maxhelp
#	init/fluid.waveform-init.txt
#	jsui/fav-max.js
#	jsui/fluid.plotter.js
#	jsui/fluid.waveform~.js
  • Loading branch information
James Bradbury committed Mar 30, 2022
2 parents d498d2d + 4b6019a commit 5f9cf25
Show file tree
Hide file tree
Showing 43 changed files with 23,456 additions and 22,470 deletions.
15 changes: 13 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,17 @@ if(DOCS)
add_custom_target(MAX_MAKE_DOCS ALL DEPENDS MAKE_MAX_REF)
endif()

FetchContent_Declare(
fluid_waveform
URL https://github.com/flucoma/fluid.waveform/releases/download/build/fluid.waveform.tar.gz
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
)

if(NOT fluid_waveform_POPULATED)
FetchContent_Populate(fluid_waveform)
endif()

# Misc setup and subroutines
include("${CMAKE_CURRENT_SOURCE_DIR}/source/script/max-package.cmake")

Expand Down Expand Up @@ -140,7 +151,6 @@ install(DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/
DESTINATION ${MAX_PACKAGE_ROOT}/externals
FILES_MATCHING REGEX "\\.(mxo|mxe|mxe64)")

# install(CODE [[ message(STATUS "${flucoma-core_SOURCE_DIR}") ]])
install(DIRECTORY "${flucoma-core_SOURCE_DIR}/Resources/AudioFiles/"
DESTINATION ${MAX_PACKAGE_ROOT}/media)
install(DIRECTORY "${flucoma-core_SOURCE_DIR}/Resources/Data/"
Expand All @@ -150,9 +160,10 @@ install(FILES icon.png package-info.json QuickStart.md
install(FILES ${flucoma-core_SOURCE_DIR}/distribution.lic
DESTINATION ${MAX_PACKAGE_ROOT}
RENAME LICENSE.md)

if(DOCS)
install(DIRECTORY "${MAX_DOC_OUT}/"
DESTINATION "${MAX_PACKAGE_ROOT}/docs"
PATTERN "*.xml")
endif()

install(DIRECTORY "${fluid_waveform_SOURCE_DIR}/" DESTINATION ${MAX_PACKAGE_ROOT})
Loading

0 comments on commit 5f9cf25

Please sign in to comment.