Skip to content

Commit adfbeb8

Browse files
author
Felipe \\\"Zimmerle\\\" Costa
committed
iss: Removes pre-compiled headers
No need to use the pre-compiled headers in InstallerHelper, removing it, in order to keep the project lean.
1 parent 6adf256 commit adfbeb8

File tree

6 files changed

+6
-38
lines changed

6 files changed

+6
-38
lines changed

iis/InstallerHelper/Installer.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
// Installer.cpp : Defines the entry point for the console application.
22
//
33

4-
#include "stdafx.h"
54
#include <ahadmin.h>
65
#include <string>
6+
#include <stdio.h>
7+
#include <tchar.h>
8+
#include "targetver.h"
79
#include "XUnzip.h"
810

911
// Logging level definition.

iis/InstallerHelper/InstallerHelper.vcxproj

+3-7
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,12 @@
4949
</PropertyGroup>
5050
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
5151
<ClCompile>
52-
<PrecompiledHeader>Use</PrecompiledHeader>
52+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
5353
<WarningLevel>Level3</WarningLevel>
5454
<Optimization>Disabled</Optimization>
5555
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
56-
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
56+
<PrecompiledHeaderFile>
57+
</PrecompiledHeaderFile>
5758
</ClCompile>
5859
<Link>
5960
<SubSystem>Console</SubSystem>
@@ -82,16 +83,11 @@
8283
<None Include="ReadMe.txt" />
8384
</ItemGroup>
8485
<ItemGroup>
85-
<ClInclude Include="stdafx.h" />
8686
<ClInclude Include="targetver.h" />
8787
<ClInclude Include="XUnzip.h" />
8888
</ItemGroup>
8989
<ItemGroup>
9090
<ClCompile Include="Installer.cpp" />
91-
<ClCompile Include="stdafx.cpp">
92-
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
93-
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
94-
</ClCompile>
9591
<ClCompile Include="XUnzip.cpp" />
9692
</ItemGroup>
9793
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

iis/InstallerHelper/InstallerHelper.vcxproj.filters

-6
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
<None Include="ReadMe.txt" />
1919
</ItemGroup>
2020
<ItemGroup>
21-
<ClInclude Include="stdafx.h">
22-
<Filter>Header Files</Filter>
23-
</ClInclude>
2421
<ClInclude Include="targetver.h">
2522
<Filter>Header Files</Filter>
2623
</ClInclude>
@@ -29,9 +26,6 @@
2926
</ClInclude>
3027
</ItemGroup>
3128
<ItemGroup>
32-
<ClCompile Include="stdafx.cpp">
33-
<Filter>Source Files</Filter>
34-
</ClCompile>
3529
<ClCompile Include="Installer.cpp">
3630
<Filter>Source Files</Filter>
3731
</ClCompile>

iis/InstallerHelper/XUnzip.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@
9696

9797
#define STRICT
9898
#define WIN32_LEAN_AND_MEAN
99-
#include "stdafx.h"
10099
#include <windows.h>
101100
#include <time.h>
102101
#include <stdio.h>

iis/InstallerHelper/stdafx.cpp

-8
This file was deleted.

iis/InstallerHelper/stdafx.h

-15
This file was deleted.

0 commit comments

Comments
 (0)