BinaryBuilder and collections of large files



I was running into problems compiling large .cpp files generated by BinaryBuilder where there were many large files. (I’m making a sample-playback audio plugin and want to embed the files using BinaryBuilder.)

So I’ve made a simple minor mod to my version of BinaryBuilder which generates a single .h file but individual .cpp files for each binary file. You can then import all of the generated files into your project but you need only to #include the header file to use the binary data.

I should probably do some #ifdef stuff in the header file but it works as a (little bit) of a hack.

It’s in an SVN rep at:

…which you can browse, or check out anonymously.