Ignore:
Timestamp:
Feb 6, 2011, 9:47:29 PM (14 years ago)
Author:
イグトランス (egtra)
Message:

コンパイラにXP以前対応用のコードを適用

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/egtra/ab5.0/abdev/compiler.vcxproj

    r798 r801  
    4646  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
    4747  <ImportGroup Label="ExtensionSettings">
     48    <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
    4849  </ImportGroup>
    4950  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
     
    9899      <Optimization>Disabled</Optimization>
    99100      <AdditionalIncludeDirectories>..\;BasicCompiler_Common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    100       <PreprocessorDefinitions>_DEBUG;_WINDOWS;JPN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     101      <PreprocessorDefinitions>_DEBUG;_CONSOLE;JPN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    101102      <MinimalRebuild>false</MinimalRebuild>
    102103      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
     
    116117      <SubSystem>Console</SubSystem>
    117118      <StackReserveSize>4194304</StackReserveSize>
     119      <EntryPointSymbol>mainStartup_OldWindowsHelper</EntryPointSymbol>
     120      <DelayLoadDLLs>PSAPI.DLL</DelayLoadDLLs>
    118121    </Link>
    119122    <Manifest>
     
    138141      <Optimization>Disabled</Optimization>
    139142      <AdditionalIncludeDirectories>..\;BasicCompiler_Common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    140       <PreprocessorDefinitions>_DEBUG;_WINDOWS;JPN;_AMD64_;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     143      <PreprocessorDefinitions>_DEBUG;_CONSOLE;JPN;_AMD64_;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    141144      <MinimalRebuild>false</MinimalRebuild>
    142145      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
     
    179182      <Optimization>MaxSpeed</Optimization>
    180183      <AdditionalIncludeDirectories>..\;BasicCompiler_Common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    181       <PreprocessorDefinitions>NDEBUG;_WINDOWS;JPN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     184      <PreprocessorDefinitions>NDEBUG;_CONSOLE;JPN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    182185      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
    183186      <PrecompiledHeader>Use</PrecompiledHeader>
     
    197200      <EnableCOMDATFolding>true</EnableCOMDATFolding>
    198201      <ImageHasSafeExceptionHandlers>true</ImageHasSafeExceptionHandlers>
     202      <EntryPointSymbol>Startup_OldWindowsHelper</EntryPointSymbol>
     203      <DelayLoadDLLs>PSAPI.DLL</DelayLoadDLLs>
    199204    </Link>
    200205    <Manifest>
     
    219224      <Optimization>MaxSpeed</Optimization>
    220225      <AdditionalIncludeDirectories>..\;BasicCompiler_Common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    221       <PreprocessorDefinitions>NDEBUG;_WINDOWS;JPN;_AMD64_;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     226      <PreprocessorDefinitions>NDEBUG;_CONSOLE;JPN;_AMD64_;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    222227      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
    223228      <PrecompiledHeader>Use</PrecompiledHeader>
     
    839844      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
    840845      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
     846    </ClCompile>
     847    <ClCompile Include="OldWindowsHelperImpl.cpp">
     848      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
     849      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
    841850    </ClCompile>
    842851  </ItemGroup>
     
    918927    </ProjectReference>
    919928  </ItemGroup>
     929  <ItemGroup>
     930    <MASM Include="OldWindowsHelper.asm">
     931      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
     932      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
     933    </MASM>
     934  </ItemGroup>
    920935  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
    921936  <ImportGroup Label="ExtensionTargets">
     937    <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
    922938  </ImportGroup>
    923939</Project>
Note: See TracChangeset for help on using the changeset viewer.