While I don't envision there ever being a huge need to push through constant / major updates, the version string also rarely ever got updated in an appropriate manner. So this PR adds the following:
Exposes fwens.version to the lua interface, meaning developers can bind to a version / check for a difference if they want
Exposed GFWENS_VERSION and GFWENS_BUILD_DATE to the C preprocessor so we can define the version straight from the build process
If built locally, will default to a string of LOCAL and uses the __DATE__ macro instead
Premake will attempt to glean the data via the appropriate lua functions.
While I don't envision there ever being a huge need to push through constant / major updates, the version string also rarely ever got updated in an appropriate manner. So this PR adds the following:
GFWENS_VERSION
andGFWENS_BUILD_DATE
to the C preprocessor so we can define the version straight from the build processLOCAL
and uses the__DATE__
macro instead