build: generate a installed version header for semantic versioning
Renames the current version function and define to dav1d_version_vcs() and DAV1D_VERSION_VCS. Fixes #241. The generated version.h is included as "dav1d/version.h" to avoid errors with a stale include/version.h in a build dir.
Showing with 114 additions and 15 deletions