]> 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 06:43:10 +0000 (09:43 +0300)
committerGert Doering <gert@greenie.muc.de>
Mon, 26 Sep 2022 09:21:44 +0000 (11:21 +0200)
commitb9d91c38843076a03b6b5fc123a386ef3c2bc564
treeb054eea2b3dd8c1a8d4040dc21211602dd39ec94
parentcec4353b60bc74a2d8d78ca6b8b6f9fae02e92eb
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: <20220926064310.688-1-lstipakov@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25311.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