diff options
| author | Vlad Vissoultchev <wqweto@gmail.com> | 2017-02-09 13:25:26 +0200 |
|---|---|---|
| committer | Vlad Vissoultchev <wqweto@gmail.com> | 2017-02-09 13:31:12 +0200 |
| commit | 910a6bc8595b4259a8d97571e13fb6e2867ce43f (patch) | |
| tree | 7a9b53b5fd55889b689ec93114770e5ba62cc728 /win32/vs2015/tcc.vcxproj | |
| parent | 5efa75d9b87e88287cf3c56db706f5a32a384072 (diff) | |
| download | tinycc-910a6bc8595b4259a8d97571e13fb6e2867ce43f.tar.gz tinycc-910a6bc8595b4259a8d97571e13fb6e2867ce43f.tar.bz2 | |
Add pre-build step in VS2015 projects to generate config.h from VERSION
Diffstat (limited to 'win32/vs2015/tcc.vcxproj')
| -rw-r--r-- | win32/vs2015/tcc.vcxproj | 22 |
1 files changed, 22 insertions, 0 deletions
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 @@ <PropertyGroup Label="UserMacros" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <LinkIncremental>true</LinkIncremental> + <IncludePath>$(ProjectDir);$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <LinkIncremental>true</LinkIncremental> + <IncludePath>$(ProjectDir);$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <LinkIncremental>false</LinkIncremental> + <IncludePath>$(ProjectDir);$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <LinkIncremental>false</LinkIncremental> + <IncludePath>$(ProjectDir);$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> @@ -88,6 +92,7 @@ <WarningLevel>Level3</WarningLevel> <Optimization>Disabled</Optimization> <PreprocessorDefinitions>TCC_TARGET_PE;TCC_TARGET_I386;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> </ClCompile> <Link> <SubSystem>Console</SubSystem> @@ -98,6 +103,10 @@ <PostBuildEvent> <Command>copy $(TargetPath) $(SolutionDir)..</Command> </PostBuildEvent> + <PreBuildEvent> + <Command>$(ProjectDir)PreBuild.bat</Command> + <Message>Generate config.h</Message> + </PreBuildEvent> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <ClCompile> @@ -106,6 +115,7 @@ <WarningLevel>Level3</WarningLevel> <Optimization>Disabled</Optimization> <PreprocessorDefinitions>TCC_TARGET_PE;TCC_TARGET_X86_64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> </ClCompile> <Link> <SubSystem>Console</SubSystem> @@ -116,6 +126,10 @@ <PostBuildEvent> <Command>copy $(TargetPath) $(SolutionDir)..</Command> </PostBuildEvent> + <PreBuildEvent> + <Command>$(ProjectDir)PreBuild.bat</Command> + <Message>Generate config.h</Message> + </PreBuildEvent> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> @@ -138,6 +152,10 @@ <PostBuildEvent> <Command>copy $(TargetPath) $(SolutionDir)..</Command> </PostBuildEvent> + <PreBuildEvent> + <Command>$(ProjectDir)PreBuild.bat</Command> + <Message>Generate config.h</Message> + </PreBuildEvent> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ClCompile> @@ -160,6 +178,10 @@ <PostBuildEvent> <Command>copy $(TargetPath) $(SolutionDir)..</Command> </PostBuildEvent> + <PreBuildEvent> + <Command>$(ProjectDir)PreBuild.bat</Command> + <Message>Generate config.h</Message> + </PreBuildEvent> </ItemDefinitionGroup> <ItemGroup> <ClCompile Include="..\..\tcc.c" /> |
