Skip to content

Commit 29bc851

Browse files
author
James Bradbury
authored
[Release] 1.0.0-beta7 (#269)
* optional args: add to wrapper * MaxWrapper: Add choices param (list of symbols <-> bitset) * changing preset and interface for noveltyslice examples * correct typos and misconnections in helpfiles (onsetslice and bufselectevery) * Buf2List(2Buf): Correct atom type Fixes MSVC debug builds * kdtreehelp: now loads programatically, in order, from the stored labelset (#184) * now loads programatically, in order, from the stored labelset * corrected a view * also, fluid.umap helpfile now uses the loader * fix #185 `ControlIn` objects – properly adjust `ac` when adjusting `av` – ensure mListSize is always intialized to something – fix resize logic * Enhance/max params (#182) * CMake: Centralise C++ version and set to 17 * Wrapper: Handle new LongRuntimeMax parameter type * POC for better buffer object chaining (#140) * start of POC for buffer management stuff, needs fix to ParamDesc NumOf in core * working POC for managing internal output buffers and process chaining relies on some pending updates to core * Don't override box arguments with default buffers * NRT: One outlet per output buffer, no progress outlet, draw progress on box * Messages: Default instances for output container args * updates to message default instances that don't break all other objects * Add optional range arguments to buffer message in left inlet * Stop MSVC being sad * Wrapper: fix merge casuality * [Fix] Broken patches due to new dataset/buffer interface interface (#195) * update dataset * fix broken cabling in datasetquery * update kmeans * make more max-like in style * "maxify" the style * fix connections and maxify style of labelset~ * fix connections in umap and maxify * fix connections and mafixy fluid.grid~ * update kdtree~ help with fixed cables and max style * fix connections and maxify style of normalize * cosmetic upgrades * update fluid.plotter cables * fix bufstats due to tb * [Fix] Missing OnsetSlice Files (#197) * restore to previous state * fix some style errors * fix style issues * Wrapper: Update for new `maxFFTSize` * [Docs] BufCompose Help File (#155) * griddify patch tab s * update first tab * second tab * macros * subsections tab * small cosmetic changes * update final tabs of help file * make tab 2 playable * clean tab 3 * cosmetic * PAs addendums * Wrapper: Fix reset for shared objects. fixes #43 Will 'reset' to whatever was in the box that the message was called on, so potential for confusion... * Wrapper: Fix managed object aliasing in message invocations. fixes #190 * List2Buf: Correct outlet type. fixes #196 * [Docs] BufSpectralShape Help File (#156) * grid it out * bufspectralshape help file * add a layout of results tab * add @select tab and final changes * translate SC -> Max (#187) * Wrapper: call params::set() properly for long array attrs To ensure that client objects like attrui update properly in shared instances * touch up ampslice example with Rod's audio * prepare help file * shell out the tabs * ampslice updates * Wrapper: Use raw value for maxFFT when refreshing attribute * [Help] Pitch and BufPitch SC Translations (#200) * layout * cleanup and translate * update bufpitch to match sc * fix various errors in help files (#204) * [Docs] NoveltySlice Help Files (#146) * update noveltyslice * shell out bufnovelty * small cosmetic updates * small layout issues * update bufnoveltyslice to be similar to RT algo * cosmetic * tune parameters for second tab * add a progression for tweaking parameters * [Fix] Saner maximum sizes for modulatable examples (#205) * add bigger maximums for noveltyslice for modulation fun * set a bigger maximum kernelsize for realtime playing * maximum parameter tweaks * [Fix] Various Bug Fixes From PA (#210) * fix bufcompose * fix bufampslice playback * change from groove to play * corrected players of 2nd tabs fixing #202 * Wrapper: Trying once again to get maxParams logic correct * neaten and provide an example (#216) perfect thanks! * [Docs] HPSS and BufHPSS translation (#219) * prepare help files with grid/fonts * cleanup help file layout * cleanup help files * update remaining tabs for hpss * [Docs] MFCC and BufMFCC Translation (#217) * update rt mfcc * update bufmfcc to match translation better * PAs review * [Docs] MelBands + BufMelBands Translation (#214) * translate rt version * add ioscbank and size $1 * translate bufmelbands * fix loadbang mistake * [Docs] BufFlatten Translation (#218) * update bufflatten * normalise fonts and grid size * cosmetic movements * change language around buffer management * [Docs] Update fluid.list2buf (#188) * update list2buf help file * change language in resize tab * resize destination buffers downwards * list2buf - list typo * bufmelbands - corrected loadbang issue * bufmfcc - typo * Enhance/generate stubs (#231) * CMake: Generate .cpp files * CMake: Ensure MSVC compiles commonsyms.c Enable C as a language for project... * Remove all old handwritten CMake and stubs * CMake: Tidy up Max SDK setup * CMake: ensure correct MSVC runtime by default * CMake: Correct hints for Max SDK libs * CMake: Asking once again to compile happily on two platforms * CMake: install prefix is a cache variable * CMake: Move install prefix override * CMake reinstate target for triggering docs in ALL * CMake: Tidy up * CMake: typo * Wrapper: FFT max set properly after initialization * CI: Update nightly workflow * CI: use correct branches * CI: remove reference to docs job * CMake: belatedly add branch selection for flucoma deps upon which CI relies * Reinstate package-json generation * [Docs] NMFFilter Translation (#222) * translate nmffilter * make ezdac local * [Docs] BufStats translation (#220) * prepare bufstats help file * in progress * full translation * add a derivative tab * cosmetics * remove debug print * [Docs] NMFMatch Translation (#221) * prepare and grid * work on compressor example * work in compressor parameters * finish translation * alter compressor example to be less idiosyncratic with vector sizes * [Docs] MLPClassifier Translation (#226) * wip * mlpclassifier translation * add caveat about predicting whole dataset * layout * [Docs] BufNMF Translation (#229) * grid and format * WIP * translation of nmf sc * remove nooiseplay vocoder * cleanup small errors * make channel offset permanent * vocoder pfft patch * add back vocoder example with tweaks * mds translation (#235) * [Docs] RobustScaler SC Translation (#234) * translate standardisation * grid out * translation * add scaler visualisation back * scaler comparison re-usable tab * update with visualisation and comparison together * [Docs] Standardise SC Translation (#233) * translate standardisation * grid out * translation * add scaler visualisation back * scaler comparison re-usable tab * update with visualisation and comparison together * commit patch * update title * add scaler comparison * [Docs] MLPRegressor Translation (#228) * prepare help file * shell out tabs * mlpregressor translation * [Fix] Plotter internal state management (#242) * refactor code to be handle state in a more legible manner * only output position on mousedown (not mouseup) * instantiate fluid.plotter with no border * dont reset domain/range state with clear * fix help file * CMake: Pick up new Client tag to control tildes in external names better * updated nmf examples with new interface * change @SiZe to @history (#243) * [Enhance] Manual Documentation for CCE Objects (#250) * install the contents of manual_docs to release-packaging docs * add manual docs * rename manual_docs to local_docs * update CMake to respect new path name * use more robust path for local docs * add default arguments and buffer messages * en-quote * add max list size as argument * provide use case for spectrogram * caveat about manual interaction with slices * update descriptions and digest * return destination -> source * [Fix] Various patcher bugs (#253) * fix bufselect~ * blank out bufstats values in messages * fix feature patches with new interface * cosmetic fix on kmeans * add feature objects to landing page * [Docs] Stats SC Translation (#245) * grid it out * update first tab * mimic Ted's real use case tab * normalize hehe the normalize help file with other scalers (#246) * [Docs] PCA SC Translation (#247) * add whitening tab * add stackexchange link * [Docs] BufNNDSVD SC Translation (#251) * update nndsvd help file to match sc * fix numchans error * translation (#255) * [Docs] STFT SC Translation (#248) * prepare help file * rework first tab * in progress * cleanup first tab * musical stft example * mild cleanup * finish musical example * change sound file examples * translate knnregressor (#256) * [Docs] NMFMorph SC Translation (#258) * start editing * wip * translate nmfmorph * [Docs] BufNMFCross SC Translation (#254) * prepare help file * translation * delete superfluous tab * typo in bufnmf help * [Fix] Various load issues (#261) * fix maxsize argument for bufaudiotransport * fix broken patch cables in bufchroma * fix loading error * fix broken dataset cables * fix maxsize * maxsize * cosmetic * broken cables * stats maxsize * typo * cosmetic * small cosmeti fixes * cosmetic touch ups * always load even if loadbang is disabled * non local ezdac (#262) * change of interface (#260) * typo * skmeans translation from SC (missing one tab also missing in kmeans) (#264) * [CI] Update Release Workflow (#266) * cleanup nightly release * normalise naming extensions * update release * Revert "normalise naming extensions" This reverts commit 2398518. * update extension * remove workflow dispatch variables * [Docs] Transients Family Translation (#259) * translate transientslice * translate buftransientslice * fluid.transients~ translation * cosmetic * translate buftransients * make mc example dual mono * add zoom on content * [Docs] AmpGate SC Translation (#241) * grid help file * translate ampgate * cosmetic * silence removal example * neaten patch * finish off lookahead/lookback prettification * fix onset/offset conceptual break * defer loading of tab 3 * cosmetic * MaxWrapper: Ensure box is properly released from `progress` upon cancel * [Docs] (S)Kmeans Distances Tab (#267) * add distance tab * add argument for choosing default dataaset * add distances tab * add distances tab * cleanup * beta testing patches updated for beta7 (#268) * typo * typo * typo * fix release worflow * fix bad path * fix branch
1 parent cbe3b9d commit 29bc851

File tree

228 files changed

+66873
-94946
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

228 files changed

+66873
-94946
lines changed

.github/workflows/nightly.yaml renamed to .github/workflows/nightly.yml

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,15 @@ on:
55
push:
66
branches: [ dev, ci/** ]
77

8-
jobs:
9-
docs:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: flucoma/actions/env@v4
13-
- uses: flucoma/actions/docs@v4
14-
with:
15-
target: MAKE_MAX_REF
16-
17-
- uses: actions/upload-artifact@v2
18-
with:
19-
name: docsbuild
20-
path: build/max_ref
21-
8+
jobs:
229
winbuild:
2310
runs-on: windows-latest
2411
steps:
2512
- uses: actions/checkout@v2
26-
- uses: flucoma/actions/env@v4
27-
- uses: flucoma/actions/max@v4
13+
- uses: flucoma/actions/env@v5
14+
- uses: flucoma/actions/max@v5
15+
with:
16+
branch: origin/dev
2817

2918
- uses: actions/upload-artifact@v2
3019
with:
@@ -35,8 +24,10 @@ jobs:
3524
runs-on: macos-11
3625
steps:
3726
- uses: actions/checkout@v2
38-
- uses: flucoma/actions/env@v4
39-
- uses: flucoma/actions/max@v4
27+
- uses: flucoma/actions/env@v5
28+
- uses: flucoma/actions/max@v5
29+
with:
30+
branch: origin/dev
4031

4132
- uses: actions/upload-artifact@v2
4233
with:
@@ -45,7 +36,7 @@ jobs:
4536

4637
release:
4738
runs-on: ubuntu-latest
48-
needs: [winbuild, macbuild, docs]
39+
needs: [winbuild, macbuild]
4940

5041
steps:
5142
- name: make parent folder
@@ -60,18 +51,10 @@ jobs:
6051
with:
6152
name: winbuild
6253
path: "FluidCorpusManipulation/externals"
63-
64-
- uses: actions/download-artifact@v2
65-
with:
66-
name: docsbuild
67-
path: "FluidCorpusManipulation/docs"
6854

6955
- name: zip
7056
run: zip -r FluCoMa-Max-nightly.zip "FluidCorpusManipulation"
7157

72-
- name: see
73-
run: ls
74-
7558
- uses: dev-drprasad/[email protected]
7659
with:
7760
delete_release: true # default: false

.github/workflows/release.yml

Lines changed: 9 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,16 @@
11
name: Release
22
on:
33
workflow_dispatch:
4-
inputs:
5-
base:
6-
description: 'Base branch to deploy core from'
7-
required: false
8-
default: 'main'
94

10-
jobs:
11-
docs:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: flucoma/actions/env@v4
15-
with:
16-
branch: ${{ github.event.inputs.base }}
17-
- uses: flucoma/actions/docs@v4
18-
with:
19-
target: MAKE_MAX_REF
20-
branch: ${{ github.event.inputs.base }}
21-
22-
- uses: actions/upload-artifact@v2
23-
with:
24-
name: docsbuild
25-
path: build/max_ref
26-
5+
jobs:
276
winbuild:
287
runs-on: windows-latest
298
steps:
309
- uses: actions/checkout@v2
31-
- uses: flucoma/actions/env@v4
10+
- uses: flucoma/actions/env@v5
11+
- uses: flucoma/actions/max@v5
3212
with:
33-
branch: ${{ github.event.inputs.base }}
34-
- uses: flucoma/actions/max@v4
13+
branch: origin/main
3514

3615
- uses: actions/upload-artifact@v2
3716
with:
@@ -44,10 +23,10 @@ jobs:
4423
version: ${{ steps.get-version.outputs.version }}
4524
steps:
4625
- uses: actions/checkout@v2
47-
- uses: flucoma/actions/env@v4
26+
- uses: flucoma/actions/env@v5
27+
- uses: flucoma/actions/max@v5
4828
with:
49-
branch: ${{ github.event.inputs.base }}
50-
- uses: flucoma/actions/max@v4
29+
branch: origin/main
5130

5231
- uses: actions/upload-artifact@v2
5332
with:
@@ -56,11 +35,11 @@ jobs:
5635

5736
- id: get-version
5837
run: echo "::set-output name=version::$(cat flucoma.version.rc)"
59-
working-directory: core
38+
working-directory: build/_deps/flucoma-core-src
6039

6140
release:
6241
runs-on: ubuntu-latest
63-
needs: [winbuild, macbuild, docs]
42+
needs: [winbuild, macbuild]
6443

6544
steps:
6645
- name: make parent folder
@@ -75,11 +54,6 @@ jobs:
7554
with:
7655
name: winbuild
7756
path: "FluidCorpusManipulation/externals"
78-
79-
- uses: actions/download-artifact@v2
80-
with:
81-
name: docsbuild
82-
path: "FluidCorpusManipulation/docs"
8357

8458
- name: zip
8559
run: zip -r FluCoMa-Max-"${{ needs.macbuild.outputs.version }}".zip "FluidCorpusManipulation"

CMakeLists.txt

Lines changed: 78 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66
# under the European Union’s Horizon 2020 research and innovation programme
77
# (grant agreement No 725899).
88

9-
cmake_minimum_required(VERSION 3.11)
9+
cmake_minimum_required(VERSION 3.18)
10+
11+
set(CMAKE_CXX_STANDARD 17)
12+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
13+
set(CMAKE_CXX_EXTENSIONS OFF)
14+
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
15+
set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_SOURCE_DIR}/release-packaging" CACHE PATH "")
1016
################################################################################
1117
# Paths
1218
set(MAX_TARGET_NAMESPACE "" CACHE STRING "Optional namesapce to prepend to targets to prevent collision in superbuilds")
@@ -17,6 +23,8 @@ endif()
1723

1824
set(FLUID_PATH "" CACHE PATH "Optional path to the Fluid Decomposition repo")
1925

26+
set(FLUID_BRANCH "origin/main" CACHE STRING "Branch to pull flucoma dependencies from")
27+
2028
option(DOCS "Generate Max XML documentation" OFF)
2129
set(FLUID_DOCS_PATH "" CACHE PATH "Optional path to flucoma-docs (needed for docs)")
2230

@@ -30,31 +38,35 @@ endif()
3038

3139
################################################################################
3240
# Main Action
33-
project (flucoma-max LANGUAGES CXX)
41+
project (flucoma-max LANGUAGES C CXX)
3442

3543
set(CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY ON)
3644
set(AUTHOR_DOMAIN "org.flucoma")
3745
string(TIMESTAMP "%Y" THISYEAR)
3846
set(COPYRIGHT_STRING "Copyright (c) 2017-${THISYEAR} University of Huddersfield")
3947
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
48+
49+
50+
set(MAX_INSTALL_PREFIX "." CACHE PATH "Prefix for assembling max package")
51+
set(FLUID_PACKAGE_NAME "FluidCorpusManipulation" CACHE STRING "Name for published package")
52+
set(MAX_PACKAGE_ROOT ${MAX_INSTALL_PREFIX}/${FLUID_PACKAGE_NAME})
53+
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/source/script")
4054
################################################################################
4155
# Fetch / link to dependencies
4256
include(FetchContent)
4357

44-
set(FETCHCONTENT_QUIET FALSE)
45-
4658
FetchContent_Declare(
4759
flucoma-core
4860
GIT_REPOSITORY https://github.com/flucoma/flucoma-core.git
4961
GIT_PROGRESS TRUE
50-
GIT_TAG origin/main
62+
GIT_TAG ${FLUID_BRANCH}
5163
)
5264

5365
FetchContent_Declare(
5466
flucoma-docs
5567
GIT_REPOSITORY https://github.com/flucoma/flucoma-docs.git
5668
GIT_PROGRESS TRUE
57-
GIT_TAG origin/main
69+
GIT_TAG ${FLUID_BRANCH}
5870
)
5971

6072
if(FLUID_PATH)
@@ -63,42 +75,36 @@ if(FLUID_PATH)
6375
)
6476
endif()
6577

66-
FetchContent_GetProperties(flucoma-core)
78+
FetchContent_MakeAvailable(flucoma-core)
79+
80+
file(GLOB FLUCOMA_CORE_RESOURCES "${flucoma-core_SOURCE_DIR}/Resources/Data/*.*")
81+
file(COPY ${FLUCOMA_CORE_RESOURCES} DESTINATION "${CMAKE_CURRENT_SOURCE_DIR}/misc")
82+
include(flucoma_version)
83+
include(flucoma-buildtools)
84+
include(flucoma-buildtype)
85+
86+
get_property(FLUCOMA_VERSION_TAG GLOBAL PROPERTY FLUCOMA_VERSION_SHA)
87+
configure_file(package-info.json.in "${CMAKE_CURRENT_SOURCE_DIR}/package-info.json")
6788

68-
if(NOT flucoma-core_POPULATED)
69-
FetchContent_Populate(flucoma-core)
70-
add_subdirectory(${flucoma-core_SOURCE_DIR} ${flucoma-core_BINARY_DIR})
71-
file(GLOB FLUCOMA_CORE_RESOURCES ${flucoma-core_SOURCE_DIR}/Resources/Data/*.*)
72-
file(COPY ${FLUCOMA_CORE_RESOURCES} DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/misc)
73-
include(flucoma_version)
74-
include(flucoma-buildtools)
75-
include(flucoma-buildtype)
76-
endif()
7789

7890
set_if_toplevel(VAR CMAKE_LIBRARY_OUTPUT_DIRECTORY
7991
TOPLEVEL "${CMAKE_CURRENT_SOURCE_DIR}/externals"
8092
SUPERBUILD "${CMAKE_SOURCE_DIR}/max_externals")
8193

82-
if(DOCS)
83-
94+
if(DOCS)
8495
set(MAX_DOC_OUT "${CMAKE_SOURCE_DIR}/docs" CACHE PATH "")
8596

8697
if(FLUID_DOCS_PATH)
8798
get_filename_component(
8899
FETCHCONTENT_SOURCE_DIR_FLUCOMA-DOCS ${FLUID_DOCS_PATH} ABSOLUTE
89100
)
90101
endif()
91-
92-
FetchContent_GetProperties(flucoma-docs)
93-
if(NOT flucoma-docs_POPULATED)
94-
FetchContent_Populate(flucoma-docs)
95-
file(GLOB_RECURSE DOC_SOURCE RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "${flucoma-docs_SOURCE_DIR}/**/*.cpp" )
96-
source_group("\\XML Doc Gen" FILES ${DOC_SOURCE})
97-
add_subdirectory(${flucoma-docs_SOURCE_DIR} ${flucoma-docs_BINARY_DIR})
98-
endif()
99-
100-
101102

103+
FetchContent_MakeAvailable(flucoma-docs)
104+
include(FlucomaDocs)
105+
set(MAX_DOC_OUT "${CMAKE_BINARY_DIR}/max_ref")
106+
add_ref_target(max "Making Max ref")
107+
# endif()
102108
add_custom_target(MAX_MAKE_DOCS ALL DEPENDS MAKE_MAX_REF)
103109
endif()
104110

@@ -108,13 +114,8 @@ FetchContent_Declare(
108114
CONFIGURE_COMMAND ""
109115
BUILD_COMMAND ""
110116
)
117+
FetchContent_MakeAvailable(fluid_waveform)
111118

112-
if(NOT fluid_waveform_POPULATED)
113-
FetchContent_Populate(fluid_waveform)
114-
endif()
115-
116-
# Misc setup and subroutines
117-
include("${CMAKE_CURRENT_SOURCE_DIR}/source/script/max-package.cmake")
118119

119120
################################################################################
120121
# Max Wrapper
@@ -125,41 +126,63 @@ target_sources(
125126
"${CMAKE_CURRENT_SOURCE_DIR}/source/include/MaxBufferAdaptor.hpp"
126127
)
127128

128-
################################################################################
129-
# Generate a project for every folder in the "source/projects" folder
130-
SUBDIRLIST(PROJECT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/source/projects")
131-
foreach (project_dir ${PROJECT_DIRS})
132-
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/source/projects/${project_dir}/CMakeLists.txt")
133-
message("Generating: ${MAX_TARGET_NAMESPACE}${project_dir}")
134-
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/source/projects/${project_dir}")
135-
source_group("" FILES "${project_dir}.cpp")
136-
endif ()
137-
endforeach ()
129+
target_include_directories(FLUID_MAX INTERFACE
130+
"${CMAKE_CURRENT_SOURCE_DIR}/source/include"
131+
)
132+
133+
include(MakeMaxSources)
134+
include(SetupMaxSDK)
135+
136+
# generate targets for standalone clients
137+
get_client_group(NONE client_list)
138+
foreach(client ${client_list})
139+
get_core_client_header(${client} header)
140+
get_core_client_class(${client} class)
141+
generate_max_source(
142+
CLIENTS ${client}
143+
HEADERS ${header}
144+
CLASSES ${class}
145+
)
146+
endforeach()
147+
148+
#generate target for MANIPULATION group
149+
get_client_group(MANIPULATION client_list)
150+
foreach(client ${client_list})
151+
get_core_client_header(${client} header)
152+
get_core_client_class(${client} class)
153+
list(APPEND MANIPULATION_CLIENTS ${client})
154+
list(APPEND MANIPULATION_HEADERS ${header})
155+
list(APPEND MANIPULATION_CLASSES ${class})
156+
endforeach()
157+
158+
generate_max_source(
159+
CLIENTS ${MANIPULATION_CLIENTS}
160+
HEADERS ${MANIPULATION_HEADERS}
161+
CLASSES ${MANIPULATION_CLASSES}
162+
FILENAME fluid.libmanipulation
163+
)
164+
165+
add_max_external(fluid.list2buf "${CMAKE_CURRENT_SOURCE_DIR}/source/projects/fluid.list2buf/fluid.list2buf.cpp")
166+
add_max_external(fluid.buf2list "${CMAKE_CURRENT_SOURCE_DIR}/source/projects/fluid.buf2list/fluid.buf2list.cpp")
138167

139-
################################################################################
140168
#install bits. Max packages bundle Windows and Mac builds together
141-
set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_SOURCE_DIR}/release-packaging")
142-
set(MAX_INSTALL_PREFIX "." CACHE PATH "Prefix for assembling max package")
143-
set(FLUID_PACKAGE_NAME "FluidCorpusManipulation" CACHE STRING "Name for published package")
144-
set(MAX_PACKAGE_ROOT ${MAX_INSTALL_PREFIX}/${FLUID_PACKAGE_NAME})
145169

146170
foreach(PACKAGE_DIRECTORY examples;extras;help;init;patchers;interfaces;javascript;jsui;misc)
147171
install(DIRECTORY ${PACKAGE_DIRECTORY} DESTINATION ${MAX_PACKAGE_ROOT})
148172
endforeach(PACKAGE_DIRECTORY)
149173

150-
install(DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/
151-
DESTINATION ${MAX_PACKAGE_ROOT}/externals
152-
FILES_MATCHING REGEX "\\.(mxo|mxe|mxe64)")
153-
154174
install(DIRECTORY "${flucoma-core_SOURCE_DIR}/Resources/AudioFiles/"
155-
DESTINATION ${MAX_PACKAGE_ROOT}/media)
175+
DESTINATION "${MAX_PACKAGE_ROOT}/media")
156176
install(DIRECTORY "${flucoma-core_SOURCE_DIR}/Resources/Data/"
157-
DESTINATION ${MAX_PACKAGE_ROOT}/misc)
177+
DESTINATION "${MAX_PACKAGE_ROOT}/misc")
158178
install(FILES icon.png package-info.json QuickStart.md
159179
DESTINATION ${MAX_PACKAGE_ROOT})
160180
install(FILES ${flucoma-core_SOURCE_DIR}/distribution.lic
161181
DESTINATION ${MAX_PACKAGE_ROOT}
162182
RENAME LICENSE.md)
183+
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/local_docs/"
184+
DESTINATION "${MAX_PACKAGE_ROOT}/docs")
185+
163186
if(DOCS)
164187
install(DIRECTORY "${MAX_DOC_OUT}/"
165188
DESTINATION "${MAX_PACKAGE_ROOT}/docs"

0 commit comments

Comments
 (0)