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/tcc.vcxproj | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'win32/vs2015/tcc.vcxproj') diff --git a/win32/vs2015/tcc.vcxproj b/win32/vs2015/tcc.vcxproj index 7417358..29543d7 100644 --- a/win32/vs2015/tcc.vcxproj +++ b/win32/vs2015/tcc.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 TCC_TARGET_PE;TCC_TARGET_I386;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + EditAndContinue Console @@ -98,6 +103,10 @@ copy $(TargetPath) $(SolutionDir).. + + $(ProjectDir)PreBuild.bat + Generate config.h + @@ -106,6 +115,7 @@ Level3 Disabled TCC_TARGET_PE;TCC_TARGET_X86_64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + EditAndContinue Console @@ -116,6 +126,10 @@ copy $(TargetPath) $(SolutionDir).. + + $(ProjectDir)PreBuild.bat + Generate config.h + @@ -138,6 +152,10 @@ copy $(TargetPath) $(SolutionDir).. + + $(ProjectDir)PreBuild.bat + Generate config.h + @@ -160,6 +178,10 @@ copy $(TargetPath) $(SolutionDir).. + + $(ProjectDir)PreBuild.bat + Generate config.h + -- cgit v1.3.1