HaxeFoundation / neko

The Neko Virtual Machine
https://nekovm.org
Other
553 stars 107 forks source link

Generate usage message copyright year automatically #256

Closed tobil4sk closed 1 year ago

tobil4sk commented 2 years ago

CMake now generates the copyright year displayed in neko's (and other tools') usage message so that it is up-to-date as of the time the package was built.

This required adding a $neko_build_year() builtin function to neko.

Simn commented 1 year ago

I had to look up what this TIMESTAMP thing does in CMake, but having done so this change makes sense to me.