From 910a6bc8595b4259a8d97571e13fb6e2867ce43f Mon Sep 17 00:00:00 2001 From: Vlad Vissoultchev Date: Thu, 9 Feb 2017 13:25:26 +0200 Subject: Add pre-build step in VS2015 projects to generate config.h from VERSION --- win32/vs2015/libtcc.vcxproj | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'win32/vs2015/libtcc.vcxproj') diff --git a/win32/vs2015/libtcc.vcxproj b/win32/vs2015/libtcc.vcxproj index d8c45a4..af179c3 100644 --- a/win32/vs2015/libtcc.vcxproj +++ b/win32/vs2015/libtcc.vcxproj @@ -71,15 +71,19 @@ true + $(ProjectDir);$(VC_IncludePath);$(WindowsSDK_IncludePath); true + $(ProjectDir);$(VC_IncludePath);$(WindowsSDK_IncludePath); false + $(ProjectDir);$(VC_IncludePath);$(WindowsSDK_IncludePath); false + $(ProjectDir);$(VC_IncludePath);$(WindowsSDK_IncludePath); @@ -88,6 +92,7 @@ Level3 Disabled ONE_SOURCE;LIBTCC_AS_DLL;TCC_TARGET_PE;TCC_TARGET_I386;WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBTCC_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + EditAndContinue Windows @@ -96,6 +101,12 @@ copy $(TargetPath) $(SolutionDir).. + + $(ProjectDir)PreBuild.bat + + + Generate config.h + @@ -104,6 +115,7 @@ Level3 Disabled ONE_SOURCE;LIBTCC_AS_DLL;TCC_TARGET_PE;TCC_TARGET_X86_64;_DEBUG;_WINDOWS;_USRDLL;LIBTCC_EXPORTS;%(PreprocessorDefinitions) + EditAndContinue Windows @@ -112,6 +124,12 @@ copy $(TargetPath) $(SolutionDir).. + + $(ProjectDir)PreBuild.bat + + + Generate config.h + @@ -132,6 +150,12 @@ copy $(TargetPath) $(SolutionDir).. + + $(ProjectDir)PreBuild.bat + + + Generate config.h + @@ -152,6 +176,12 @@ copy $(TargetPath) $(SolutionDir).. + + $(ProjectDir)PreBuild.bat + + + Generate config.h + -- cgit v1.3.1