]> git.ipfire.org Git - thirdparty/openvpn.git/commit
msvc: add branch name and commit hash to version output
authorLev Stipakov <lev@openvpn.net>
Mon, 26 Sep 2022 07:08:43 +0000 (10:08 +0300)
committerGert Doering <gert@greenie.muc.de>
Mon, 26 Sep 2022 09:25:20 +0000 (11:25 +0200)
commit8cbfd57e4ad423c807ca8ec69f88fbc0e2da5aec
tree49370aa9f2239936a188c4c8ef56849993393e9a
parent997df07a98ee01dfdf6e2b360dd06f61580b5a1c
msvc: add branch name and commit hash to version output

Add a simple python script which generates header with
branch name and commit hash #defines.

While on it, fix filename in msvc-generate.vcxproj
and add proper copyright header to Makefile.mak.

Signed-off-by: Lev Stipakov <lev@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220926070843.717-1-lstipakov@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25314.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
build/msvc/msvc-generate/Makefile.mak
build/msvc/msvc-generate/git-version.py [new file with mode: 0644]
build/msvc/msvc-generate/msvc-generate.vcxproj
config-msvc.h