ok, Ive got the basics working on both linux and macos
https://github.com/TheTechnobear/bela_client
basic goal is cross-compiling client on mac/linux thats easy to install and use, currently im only interested in C++ support - so not SC/PD , but I guess those are no more than copying files and launching.
currently, it provides:
- a quick/easy install
- belaCompile, belaRun, belaCompileRun ... to compile/run simple cpp code (i.e. single render.cpp type things)
- belaExec, belaCopy functions to copy/execute on bela
- sets up normal Bela/scripts , so you can just type ide.sh stop
testing:
the mac version ive done a proper clean install on, the linux was a bit 'made up as i went along... as I had issues with the available clang/llvm versions on my distro... but i pretty confident its accurate (and certainly past installation its fine)
to do:
- add default options when running (as per IDE i guess)
- cmake template
cmake is the main thing, really things like belaCompile were just created so that I was clear on what compile option and executables I need to get things to compile - should be relatively easily for me to translate that to cmake (which Im pretty familiar with).
once thats done, I'll start using 'in anger' so no doubt might add a few more things, that make it easier to do the edit,test,run workflow....
I also want to think about
- where i put the compiled 'projects' on bela
- tailoring 'startup', so that i can run these projects.. or perhaps make 'compatible' with current startup routing (which starts via make)