Source code and mxo's for my Max objects
Clone the repository with submodules
git clone --recurse-submodules https://github.com/bsssssss/max-externals.git
cd max-externalsThen create a build directory and cd into it
mkdir build
cd buildTo generate the projects I use Ninja so compile_commands.json can be generated
cmake -G "Ninja" ..
cmake --build . # build everything
cmake --build . --target <project_name> # To build a specific projectIf building an external with a ~ at the end (for audio objects for example).
If the project is named myproject~, then the build target is
myproject_tilde.
If the CMakeCache.txt file is messed up (for example when directories have changed), delete everything in the build dir.