generate both version.h and version from CMakelists.txt

This forces consistency, since they will be re-generated whenever
a git operation alters CMakelists.txt. They are still in the repo
because users might not actually run cmake.
This commit is contained in:
Christopher Dunn
2015-03-05 18:14:58 -06:00
parent 2a840c105c
commit 295e73ff3c
3 changed files with 17 additions and 6 deletions

1
.gitignore vendored
View File

@@ -10,6 +10,7 @@
/libs/
/doc/doxyfile
/dist/
#/version
#/include/json/version.h
# MSVC project files: