From baf3dd158ba2b7fcefc51ea01801e245066d1402 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 24 Jan 2010 20:46:28 +0000 Subject: fixed build on windows (version.h) --- src/anytun.vcproj | 16 ++++++++++++++++ src/win32/make_version_h.bat | 22 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 src/win32/make_version_h.bat (limited to 'src') diff --git a/src/anytun.vcproj b/src/anytun.vcproj index 2624304..337c9f7 100644 --- a/src/anytun.vcproj +++ b/src/anytun.vcproj @@ -28,6 +28,7 @@ > %OUTPUT_FILE% +echo * anytun version info >> %OUTPUT_FILE% +echo * >> %OUTPUT_FILE% +echo * this file was created automatically >> %OUTPUT_FILE% +echo * do not edit this file directly >> %OUTPUT_FILE% +echo * use win32/make_version_h.bat instead >> %OUTPUT_FILE% +echo */ >> %OUTPUT_FILE% +echo. >> %OUTPUT_FILE% +echo #ifndef ANYTUN_version_h_INCLUDED >> %OUTPUT_FILE% +echo #define ANYTUN_version_h_INCLUDED >> %OUTPUT_FILE% +echo. >> %OUTPUT_FILE% +echo #define VERSION_STRING_0 " version %VERSION%" >> %OUTPUT_FILE% +echo #define VERSION_STRING_1 "built on %COMPUTERNAME%, %DATE% %TIME%" >> %OUTPUT_FILE% +echo. >> %OUTPUT_FILE% +echo #endif >> %OUTPUT_FILE% + -- cgit v1.2.3