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
version.in Normal file
View File

@@ -0,0 +1 @@
@JSONCPP_VERSION@