[PATCH #60] Fixed build warnings about inconsistencies in the output

location for cmpp. The destination was not changed (due to dependencies of
 batch files on the location) but $(ProjectDir) was used to make the path
 absolute, which simplifies verifying the correct location.
This commit is contained in:
Jim Monte 2019-06-01 17:49:49 +02:00 committed by Holger Vogt
parent 09021c22ce
commit 194e6d02e9
1 changed files with 191 additions and 180 deletions

View File

@ -68,7 +68,18 @@
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup> </ImportGroup>
<PropertyGroup Label="UserMacros" /> <PropertyGroup Label="UserMacros" />
<PropertyGroup /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(ProjectDir)..\bin\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(ProjectDir)..\bin\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>$(ProjectDir)..\bin\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>$(ProjectDir)..\bin\</OutDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile> <ClCompile>
<WarningLevel>Level4</WarningLevel> <WarningLevel>Level4</WarningLevel>
@ -81,7 +92,7 @@
<Link> <Link>
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<ProfileGuidedDatabase /> <ProfileGuidedDatabase />
<OutputFile>..\bin\$(TargetName)$(TargetExt)</OutputFile> <OutputFile>$(ProjectDir)..\bin\$(TargetName)$(TargetExt)</OutputFile>
<ProgramDatabaseFile>..\bin\$(TargetName).pdb</ProgramDatabaseFile> <ProgramDatabaseFile>..\bin\$(TargetName).pdb</ProgramDatabaseFile>
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
@ -103,7 +114,7 @@
<EnableCOMDATFolding>true</EnableCOMDATFolding> <EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences> <OptimizeReferences>true</OptimizeReferences>
<ProfileGuidedDatabase /> <ProfileGuidedDatabase />
<OutputFile>..\bin\$(TargetName)$(TargetExt)</OutputFile> <OutputFile>$(ProjectDir)..\bin\$(TargetName)$(TargetExt)</OutputFile>
<ProgramDatabaseFile /> <ProgramDatabaseFile />
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
@ -121,7 +132,7 @@
</ClCompile> </ClCompile>
<Link> <Link>
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>..\bin\$(TargetName)$(TargetExt)</OutputFile> <OutputFile>$(ProjectDir)..\bin\$(TargetName)$(TargetExt)</OutputFile>
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -140,7 +151,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding> <EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences> <OptimizeReferences>true</OptimizeReferences>
<OutputFile>..\bin\$(TargetName)$(TargetExt)</OutputFile> <OutputFile>$(ProjectDir)..\bin\$(TargetName)$(TargetExt)</OutputFile>
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup> <ItemGroup>