When I build my AU with juce CMake and validate them in logic pro I get an invalid version.
[ oh that AUVal screenshot is cutoff. In that picture the version of surge-xt it shows is “256.0.0” which matches the overflow from adding in the TWEAK]
My CMakeLists.txt has project version “184.108.40.206” in the project declaration and it looks like that’s getting passed down with one too many turns.
If I update my CMakeLists.txt to say “1.0.0” then the version comes through properly.
So it seems to me like if I have a
PROJECT_VERSION_TWEAK set in CMake then I get an invalid version in my AU. I think (think) that in juce_utils where you do a propert_if_not_set of VERSION to PROJECT_VERSION and tweak is set, you get the full shooting match.
So I guess there’s 3 things I could do
- Turn my cmake version into 1.0.0 or whatever
- explicitly set the VERSION property on my targets or
- Drop a note here on the forum to see if you think this is a bug you could fix in Juce 6.1 cmake by reconstructing the version from major/minor/patch rather than the default
Thanks as always!