Move size values to BinaryData.cpp file?


#1

Would it be possible to have Projucer put the “size” int values in BinaryData.cpp and only declare them in BinaryData.h?

This way, if you edit a file (and its size changes), you just need to recompile BinaryData.cpp, and not everything else.

But maybe there are reasons for it being that way, that I’m missing.


#2

It’s done the way it is so they can be used as compile-time constants.


#3

Ah, right. Thanks!