- Code: Select all
VS_VERSION_INFO VERSIONINFO
But how to increment the version on every build? We can write a Python script to run as a pre-build event, this Python will open RC file and update it. But it seems clumsy.
I see that there is make_version_header.py, gclient_hook.py, also cef,gyp refers some version.py, revision.py and "@MAJOR@.@MINOR@.@BUILD@.@PATCH@"
In other RC files there are CEF_VERSION_MAJOR and similar.
But I am still in dark, how to use cef.gyp and other parts of framework to update our version automatically on every build in our project?
Thanks, Levi