darrylb123 / usbrelay

Control usb relay - based on hidapi
GNU General Public License v2.0
311 stars 98 forks source link

Generate gitversion.h at build time (includes non-git fallback) #54

Closed wentasah closed 4 years ago

wentasah commented 4 years ago

When building in git repo, ask git for the version, otherwise use "???" as a fallback.

This should address issue #52.

Later today, I'll extend this PR with another commit for creation of release tar/zip with pregenerated gitversion.h.