Wireshark-commits: [Wireshark-commits] master 57b2b77: cmake: rework version.h handling to treat it

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 26 Aug 2015 07:37:12 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=57b2b7702258a6b69edb734f6261762309d652bd
Submitter: Jörg Mayer (jmayer@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

57b2b77 by Joerg Mayer (jmayer@xxxxxxxxx):

    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@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Jörg Mayer <jmayer@xxxxxxxxx>
    

Actions performed:

    from  c18d2f8   Qt SCTP: Changed prohibited APIs
    adds  57b2b77   cmake: rework version.h handling to treat it like config.h


Summary of changes:
 CMakeLists.txt        |   30 ++++++++++--------------------
 make-version.pl       |   22 +++++++++++++++++-----
 version.h.in          |    1 +
 wsutil/CMakeLists.txt |    2 --
 4 files changed, 28 insertions(+), 27 deletions(-)
 create mode 100644 version.h.in