Skip to content

Commit

Permalink
Improved name generated for possible new configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Oct 2, 2024
1 parent bc4f2c5 commit 971b52b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 83 deletions.
73 changes: 15 additions & 58 deletions source/BugTrap.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,65 +15,22 @@
<IntDir>$(ProjectDir)..\..\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='.NET Debug|Win32'">
<TargetName>$(ProjectName)DN</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='.NET Debug|x64'">
<TargetName>$(ProjectName)DN-x64</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='.NET Release|Win32'">
<TargetName>$(ProjectName)N</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='.NET Release|x64'">
<TargetName>$(ProjectName)N-x64</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<TargetName>$(ProjectName)D</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<TargetName>$(ProjectName)D-x64</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<TargetName>$(ProjectName)</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetName>$(ProjectName)-x64</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|Win32'">
<TargetName>$(ProjectName)DS</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static|x64'">
<TargetName>$(ProjectName)DS-x64</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Static|Win32'">
<TargetName>$(ProjectName)S</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Static|x64'">
<TargetName>$(ProjectName)S-x64</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Debug|x64'">
<TargetName>$(ProjectName)UD-x64</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Release|x64'">
<TargetName>$(ProjectName)U-x64</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Debug|Win32'">
<TargetName>$(ProjectName)UD</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Release|Win32'">
<TargetName>$(ProjectName)U</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Debug Static|x64'">
<TargetName>$(ProjectName)UDS-x64</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Release Static|x64'">
<TargetName>$(ProjectName)US-x64</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Debug Static|Win32'">
<TargetName>$(ProjectName)UDS</TargetName>
<PropertyGroup Label="UserMacros">
<BugTrapUnicode></BugTrapUnicode>
<BugTrapDebug></BugTrapDebug>
<BugTrapNet></BugTrapNet>
<BugTrapStatic></BugTrapStatic>
<BugTrapArch></BugTrapArch>

<BugTrapUnicode Condition="$(Configuration.Contains('Unicode'))">U</BugTrapUnicode>
<BugTrapDebug Condition="$(Configuration.Contains('Debug'))">D</BugTrapDebug>
<BugTrapNet Condition="$(Configuration.Contains('.NET'))">N</BugTrapNet>
<BugTrapStatic Condition="$(Configuration.Contains('Static'))">S</BugTrapStatic>
<BugTrapArch Condition="'$(Platform)'!='Win32'">-$(PlatformShortName)</BugTrapArch>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Unicode Release Static|Win32'">
<TargetName>$(ProjectName)US</TargetName>

<PropertyGroup>
<TargetName>$(ProjectName)$(BugTrapUnicode)$(BugTrapDebug)$(BugTrapNet)$(BugTrapStatic)$(BugTrapArch)</TargetName>
</PropertyGroup>

<ItemDefinitionGroup>
Expand Down
26 changes: 1 addition & 25 deletions source/zlib/zlib.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,33 +56,9 @@
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<OutDir>$(ProjectDir)..\..\lib\</OutDir>
<OutDir>$(ProjectDir)..\..\lib\$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(ProjectDir)..\..\intermediate\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<TargetName>$(ProjectName)S</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='MD Release|Win32'">
<TargetName>$(ProjectName)MS</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetName>$(ProjectName)S-x64</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='MD Release|x64'">
<TargetName>$(ProjectName)MS-x64</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<TargetName>$(ProjectName)SD</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='MD Debug|Win32'">
<TargetName>$(ProjectName)MSD</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<TargetName>$(ProjectName)SD-x64</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='MD Debug|x64'">
<TargetName>$(ProjectName)MSD-x64</TargetName>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand Down

0 comments on commit 971b52b

Please sign in to comment.