Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix utility projects for run on Win2k

  • Loading branch information...
commit 4a35cc381cbdc7c6ea93fa41ba7a7927489dcce6 1 parent 91b194e
@xyzzy-17-638 xyzzy-17-638 authored
View
17 projects/xyzzycli.vcxproj
@@ -31,6 +31,7 @@
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
+ <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
@@ -62,8 +63,8 @@
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>NotSet</SubSystem>
- <AdditionalOptions>/SUBSYSTEM:WINDOWS,5.0 %(AdditionalOptions)</AdditionalOptions>
+ <SubSystem>Windows</SubSystem>
+ <MinimumRequiredVersion>5</MinimumRequiredVersion>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -81,13 +82,14 @@
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>NotSet</SubSystem>
+ <SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
- <AdditionalOptions>/SUBSYSTEM:WINDOWS,5.0 %(AdditionalOptions)</AdditionalOptions>
+ <MinimumRequiredVersion>5</MinimumRequiredVersion>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
+ <ClCompile Include="..\src\vc-compat.cc" />
<ClCompile Include="..\src\xyzzycli.cc" />
</ItemGroup>
<ItemGroup>
@@ -98,8 +100,15 @@
<ClInclude Include="..\src\targetver.h" />
<ClInclude Include="..\src\xyzzycli.h" />
</ItemGroup>
+ <ItemGroup>
+ <MASM Include="..\src\vc-compat-entry.asm">
+ <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">PLATVER=$(PlatformToolsetVersion)</PreprocessorDefinitions>
+ <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">PLATVER=$(PlatformToolsetVersion)</PreprocessorDefinitions>
+ </MASM>
+ </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
+ <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
</ImportGroup>
<Target Name="AfterBuild">
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(SolutionDir)" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
View
8 projects/xyzzycli.vcxproj.filters
@@ -17,6 +17,9 @@
<ClCompile Include="..\src\xyzzycli.cc">
<Filter>ソース ファイル</Filter>
</ClCompile>
+ <ClCompile Include="..\src\vc-compat.cc">
+ <Filter>ソース ファイル</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\src\xyzzycli.rc">
@@ -34,4 +37,9 @@
<Filter>ヘッダー ファイル</Filter>
</ClInclude>
</ItemGroup>
+ <ItemGroup>
+ <MASM Include="..\src\vc-compat-entry.asm">
+ <Filter>ソース ファイル</Filter>
+ </MASM>
+ </ItemGroup>
</Project>
View
15 projects/xyzzyenv.vcxproj
@@ -31,6 +31,7 @@
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
+ <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
@@ -62,8 +63,9 @@
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>NotSet</SubSystem>
+ <SubSystem>Console</SubSystem>
<AdditionalOptions>/SUBSYSTEM:CONSOLE,5.0 %(AdditionalOptions)</AdditionalOptions>
+ <MinimumRequiredVersion>5</MinimumRequiredVersion>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -81,13 +83,15 @@
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
- <SubSystem>NotSet</SubSystem>
+ <SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<AdditionalOptions>/SUBSYSTEM:CONSOLE,5.0 %(AdditionalOptions)</AdditionalOptions>
+ <MinimumRequiredVersion>5</MinimumRequiredVersion>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
+ <ClCompile Include="..\src\vc-compat.cc" />
<ClCompile Include="..\src\xyzzyenv.cc" />
</ItemGroup>
<ItemGroup>
@@ -96,8 +100,15 @@
<ItemGroup>
<ClInclude Include="..\src\targetver.h" />
</ItemGroup>
+ <ItemGroup>
+ <MASM Include="..\src\vc-compat-entry.asm">
+ <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">PLATVER=$(PlatformToolsetVersion)</PreprocessorDefinitions>
+ <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">PLATVER=$(PlatformToolsetVersion)</PreprocessorDefinitions>
+ </MASM>
+ </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
+ <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
</ImportGroup>
<Target Name="AfterBuild">
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(SolutionDir)" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
View
8 projects/xyzzyenv.vcxproj.filters
@@ -17,6 +17,9 @@
<ClCompile Include="..\src\xyzzyenv.cc">
<Filter>ソース ファイル</Filter>
</ClCompile>
+ <ClCompile Include="..\src\vc-compat.cc">
+ <Filter>ソース ファイル</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\src\xyzzyenv.rc">
@@ -28,4 +31,9 @@
<Filter>ヘッダー ファイル</Filter>
</ClInclude>
</ItemGroup>
+ <ItemGroup>
+ <MASM Include="..\src\vc-compat-entry.asm">
+ <Filter>ソース ファイル</Filter>
+ </MASM>
+ </ItemGroup>
</Project>
View
11 updater/updater.vcxproj
@@ -29,6 +29,7 @@
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
+ <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
@@ -55,6 +56,7 @@
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
+ <MinimumRequiredVersion>5</MinimumRequiredVersion>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -72,6 +74,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
+ <MinimumRequiredVersion>5</MinimumRequiredVersion>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
@@ -85,6 +88,7 @@
<ClInclude Include="updater.h" />
</ItemGroup>
<ItemGroup>
+ <ClCompile Include="..\src\vc-compat.cc" />
<ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
@@ -94,8 +98,15 @@
<ItemGroup>
<ResourceCompile Include="updater.rc" />
</ItemGroup>
+ <ItemGroup>
+ <MASM Include="..\src\vc-compat-entry.asm">
+ <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">PLATVER=$(PlatformToolsetVersion)</PreprocessorDefinitions>
+ <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">PLATVER=$(PlatformToolsetVersion)</PreprocessorDefinitions>
+ </MASM>
+ </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
+ <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
</ImportGroup>
<Target Name="AfterBuild">
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(SolutionDir)" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
View
8 updater/updater.vcxproj.filters
@@ -43,10 +43,18 @@
<ClCompile Include="updater.cpp">
<Filter>ソース ファイル</Filter>
</ClCompile>
+ <ClCompile Include="..\src\vc-compat.cc">
+ <Filter>ソース ファイル</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="updater.rc">
<Filter>リソース ファイル</Filter>
</ResourceCompile>
</ItemGroup>
+ <ItemGroup>
+ <MASM Include="..\src\vc-compat-entry.asm">
+ <Filter>ソース ファイル</Filter>
+ </MASM>
+ </ItemGroup>
</Project>
Please sign in to comment.
Something went wrong with that request. Please try again.