BinaryData Namespace


#1

Feature request for the Projucer: Allow an option to place generated BinaryData in a user-specified namespace.

My case for this: I have a large multi-project build which I’ve automated using a combination of CMake and .jucer files. However I ran into a symbol collision when linking my main executable to another static library which also has BinaryData. As both of the projects contain a BinaryData.cpp, the ‘getNamedResource’ symbol is duplicated.

The easiest way to solve this in my view would be for the Projucer to optionally generate the BinaryData methods inside a custom (project-specific) namespace.


#2

I’m running into this issue as well. An option to change the BinaryData name in Projucer would help a lot


#3

I’ve added this to the develop branch.


BinaryData Custom Name Request