about summary refs log tree commit diff stats
path: root/App
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2019-11-25 21:10:50 -0800
committerjbzdarkid <jbzdarkid@gmail.com>2019-11-25 21:10:50 -0800
commitac83733b590f3c0750bea1de3556ceb24fa0a4b1 (patch)
tree74aa45ca76603f23c027478af4c2c5aa09eab11e /App
parente10243a64e0c6542c9b74c3bb95f5ebf4a3df7cb (diff)
downloadwitness-tutorializer-ac83733b590f3c0750bea1de3556ceb24fa0a4b1.tar.gz
witness-tutorializer-ac83733b590f3c0750bea1de3556ceb24fa0a4b1.tar.bz2
witness-tutorializer-ac83733b590f3c0750bea1de3556ceb24fa0a4b1.zip
Using PCH to clean up includes
Diffstat (limited to 'App')
-rw-r--r--App/App.vcxproj12
-rw-r--r--App/Main.cpp7
2 files changed, 9 insertions, 10 deletions
diff --git a/App/App.vcxproj b/App/App.vcxproj index 25ec076..e2e75a8 100644 --- a/App/App.vcxproj +++ b/App/App.vcxproj
@@ -89,7 +89,7 @@
89 </PropertyGroup> 89 </PropertyGroup>
90 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 90 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
91 <ClCompile> 91 <ClCompile>
92 <PrecompiledHeader>NotUsing</PrecompiledHeader> 92 <PrecompiledHeader>Create</PrecompiledHeader>
93 <WarningLevel>Level3</WarningLevel> 93 <WarningLevel>Level3</WarningLevel>
94 <Optimization>Disabled</Optimization> 94 <Optimization>Disabled</Optimization>
95 <SDLCheck>true</SDLCheck> 95 <SDLCheck>true</SDLCheck>
@@ -98,6 +98,7 @@
98 <AdditionalIncludeDirectories>..\Source;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 98 <AdditionalIncludeDirectories>..\Source;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
99 <LanguageStandard>stdcpp17</LanguageStandard> 99 <LanguageStandard>stdcpp17</LanguageStandard>
100 <TreatWarningAsError>true</TreatWarningAsError> 100 <TreatWarningAsError>true</TreatWarningAsError>
101 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
101 </ClCompile> 102 </ClCompile>
102 <Link> 103 <Link>
103 <SubSystem>Windows</SubSystem> 104 <SubSystem>Windows</SubSystem>
@@ -106,7 +107,7 @@
106 </ItemDefinitionGroup> 107 </ItemDefinitionGroup>
107 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> 108 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
108 <ClCompile> 109 <ClCompile>
109 <PrecompiledHeader>NotUsing</PrecompiledHeader> 110 <PrecompiledHeader>Create</PrecompiledHeader>
110 <WarningLevel>Level3</WarningLevel> 111 <WarningLevel>Level3</WarningLevel>
111 <Optimization>Disabled</Optimization> 112 <Optimization>Disabled</Optimization>
112 <SDLCheck>true</SDLCheck> 113 <SDLCheck>true</SDLCheck>
@@ -116,6 +117,7 @@
116 <AdditionalIncludeDirectories>..\Source;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 117 <AdditionalIncludeDirectories>..\Source;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
117 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 118 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
118 <TreatWarningAsError>true</TreatWarningAsError> 119 <TreatWarningAsError>true</TreatWarningAsError>
120 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
119 </ClCompile> 121 </ClCompile>
120 <Link> 122 <Link>
121 <SubSystem>Windows</SubSystem> 123 <SubSystem>Windows</SubSystem>
@@ -124,7 +126,7 @@
124 </ItemDefinitionGroup> 126 </ItemDefinitionGroup>
125 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 127 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
126 <ClCompile> 128 <ClCompile>
127 <PrecompiledHeader>NotUsing</PrecompiledHeader> 129 <PrecompiledHeader>Create</PrecompiledHeader>
128 <WarningLevel>Level3</WarningLevel> 130 <WarningLevel>Level3</WarningLevel>
129 <Optimization>MaxSpeed</Optimization> 131 <Optimization>MaxSpeed</Optimization>
130 <FunctionLevelLinking>true</FunctionLevelLinking> 132 <FunctionLevelLinking>true</FunctionLevelLinking>
@@ -135,6 +137,7 @@
135 <LanguageStandard>stdcpp17</LanguageStandard> 137 <LanguageStandard>stdcpp17</LanguageStandard>
136 <AdditionalIncludeDirectories>..\Source;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 138 <AdditionalIncludeDirectories>..\Source;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
137 <TreatWarningAsError>true</TreatWarningAsError> 139 <TreatWarningAsError>true</TreatWarningAsError>
140 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
138 </ClCompile> 141 </ClCompile>
139 <Link> 142 <Link>
140 <SubSystem>Windows</SubSystem> 143 <SubSystem>Windows</SubSystem>
@@ -146,7 +149,7 @@
146 </ItemDefinitionGroup> 149 </ItemDefinitionGroup>
147 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> 150 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
148 <ClCompile> 151 <ClCompile>
149 <PrecompiledHeader>NotUsing</PrecompiledHeader> 152 <PrecompiledHeader>Create</PrecompiledHeader>
150 <WarningLevel>Level3</WarningLevel> 153 <WarningLevel>Level3</WarningLevel>
151 <Optimization>MaxSpeed</Optimization> 154 <Optimization>MaxSpeed</Optimization>
152 <FunctionLevelLinking>true</FunctionLevelLinking> 155 <FunctionLevelLinking>true</FunctionLevelLinking>
@@ -158,6 +161,7 @@
158 <AdditionalIncludeDirectories>..\Source;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 161 <AdditionalIncludeDirectories>..\Source;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
159 <TreatWarningAsError>true</TreatWarningAsError> 162 <TreatWarningAsError>true</TreatWarningAsError>
160 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 163 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
164 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
161 </ClCompile> 165 </ClCompile>
162 <Link> 166 <Link>
163 <SubSystem>Windows</SubSystem> 167 <SubSystem>Windows</SubSystem>
diff --git a/App/Main.cpp b/App/Main.cpp index 9e2757e..4bd009a 100644 --- a/App/Main.cpp +++ b/App/Main.cpp
@@ -1,12 +1,7 @@
1#include "Windows.h" 1#include "pch.h"
2#include "Richedit.h" 2#include "Richedit.h"
3#include "Version.h" 3#include "Version.h"
4 4
5#include <cassert>
6#include <iostream>
7#include <string>
8#include <thread>
9
10#include "Memory.h" 5#include "Memory.h"
11#include "Random.h" 6#include "Random.h"
12#include "Randomizer.h" 7#include "Randomizer.h"