Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
Land #53, warnings as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
egypt committed Nov 21, 2013
2 parents 969ef60 + 12217d8 commit 74e75f6
Show file tree
Hide file tree
Showing 14 changed files with 180 additions and 116 deletions.
34 changes: 33 additions & 1 deletion workspace/ReflectiveDLLInjection/ReflectiveDLLInjection.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@
</ClCompile>
<Lib>
<IgnoreSpecificDefaultLibraries>libcmtd;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<OutputFile>$(OutDir)\ReflectiveDllInjection.lib</OutputFile>
<AdditionalDependencies>backcompat.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>..\backcompat\$(Configuration)\</AdditionalLibraryDirectories>
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
<SubSystem>Windows</SubSystem>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='r7_debug|Win32'">
Expand All @@ -184,6 +189,11 @@
</ClCompile>
<Lib>
<IgnoreSpecificDefaultLibraries>libcmtd;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<OutputFile>$(OutDir)\ReflectiveDllInjection.lib</OutputFile>
<AdditionalDependencies>backcompat.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>..\backcompat\$(Configuration)\</AdditionalLibraryDirectories>
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
<SubSystem>Windows</SubSystem>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
Expand All @@ -203,6 +213,11 @@
</ClCompile>
<Lib>
<IgnoreSpecificDefaultLibraries>libcmtd;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<OutputFile>$(OutDir)\ReflectiveDllInjection.lib</OutputFile>
<AdditionalDependencies>backcompat.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>..\backcompat\$(Configuration)\</AdditionalLibraryDirectories>
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
<SubSystem>Windows</SubSystem>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='r7_debug|x64'">
Expand All @@ -222,6 +237,11 @@
</ClCompile>
<Lib>
<IgnoreSpecificDefaultLibraries>libcmtd;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<OutputFile>$(OutDir)\ReflectiveDllInjection.lib</OutputFile>
<AdditionalDependencies>backcompat.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>..\backcompat\$(Configuration)\</AdditionalLibraryDirectories>
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
<SubSystem>Windows</SubSystem>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Expand All @@ -247,6 +267,8 @@
<OutputFile>$(OutDir)\ReflectiveDllInjection.lib</OutputFile>
<AdditionalDependencies>backcompat.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>..\backcompat\$(Configuration)\</AdditionalLibraryDirectories>
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
<SubSystem>Windows</SubSystem>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='r7_release|Win32'">
Expand All @@ -272,6 +294,8 @@
<OutputFile>$(OutDir)\ReflectiveDllInjection.lib</OutputFile>
<AdditionalDependencies>backcompat.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>..\backcompat\$(Configuration)\</AdditionalLibraryDirectories>
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
<SubSystem>Windows</SubSystem>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
Expand All @@ -294,6 +318,10 @@
</ClCompile>
<Lib>
<OutputFile>$(OutDir)\ReflectiveDllInjection.lib</OutputFile>
<AdditionalDependencies>backcompat.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>..\backcompat\$(Configuration)\</AdditionalLibraryDirectories>
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
<SubSystem>Windows</SubSystem>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='r7_release|x64'">
Expand All @@ -316,6 +344,10 @@
</ClCompile>
<Lib>
<OutputFile>$(OutDir)\ReflectiveDllInjection.lib</OutputFile>
<AdditionalDependencies>backcompat.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>..\backcompat\$(Configuration)\</AdditionalLibraryDirectories>
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
<SubSystem>Windows</SubSystem>
</Lib>
</ItemDefinitionGroup>
<ItemGroup>
Expand All @@ -341,4 +373,4 @@
<ImportGroup Label="ExtensionTargets">
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
</ImportGroup>
</Project>
</Project>
12 changes: 12 additions & 0 deletions workspace/backcompat/backcompat.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@
<MASM>
<UseSafeExceptionHandlers>true</UseSafeExceptionHandlers>
</MASM>
<Lib>
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
<SubSystem>Windows</SubSystem>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='r7_debug|Win32'">
<ClCompile>
Expand All @@ -109,6 +113,12 @@
<MASM>
<UseSafeExceptionHandlers>true</UseSafeExceptionHandlers>
</MASM>
<Lib>
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
</Lib>
<Lib>
<SubSystem>Windows</SubSystem>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
Expand Down Expand Up @@ -140,6 +150,7 @@
<Lib>
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration>
<OutputFile>$(OutDir)\backcompat.lib</OutputFile>
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
</Lib>
<MASM>
<UseSafeExceptionHandlers>true</UseSafeExceptionHandlers>
Expand Down Expand Up @@ -175,6 +186,7 @@
<Lib>
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration>
<OutputFile>$(OutDir)\backcompat.lib</OutputFile>
<TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
</Lib>
<MASM>
<UseSafeExceptionHandlers>true</UseSafeExceptionHandlers>
Expand Down
Loading

0 comments on commit 74e75f6

Please sign in to comment.