cmake: rework version.h handling to treat it like config.h
authorJoerg Mayer <jmayer@loplof.de>
Wed, 26 Aug 2015 04:50:09 +0000 (08:50 +0400)
committerJörg Mayer <jmayer@loplof.de>
Wed, 26 Aug 2015 07:37:02 +0000 (07:37 +0000)
commit57b2b7702258a6b69edb734f6261762309d652bd
tree7ddb470c66ea7d988f87dfab8c362fef7595a521
parentc18d2f819345cea18b6db50a8062a1126a55b6bf
cmake: rework version.h handling to treat it like config.h

It wasn't working on my system: I kept seeing the old git revision
in '...shark -v' even after deleting version.h

Change-Id: I75f41a7afcee4b9384f33a56014e4af6b527fec5
Reviewed-on: https://code.wireshark.org/review/10265
Petri-Dish: Jörg Mayer <jmayer@loplof.de>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
CMakeLists.txt
make-version.pl
version.h.in [new file with mode: 0644]
wsutil/CMakeLists.txt