Move size values to BinaryData.cpp file?

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.

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

1 Like

Ah, right. Thanks!