diff options
author | Jocelyn Turcotte <jturcotte@woboq.com> | 2015-03-11 19:57:07 +0300 |
---|---|---|
committer | Jocelyn Turcotte <jturcotte@woboq.com> | 2015-03-12 00:17:46 +0300 |
commit | d88751bb8ba3ca7fd248cb1b791afac8ceb4dea1 (patch) | |
tree | be0049999c7b1a1695cf189b8fa02d632872e20d /shell_integration | |
parent | f13dfc19a05b2a766d1b49d19bc95bd18d0b1244 (diff) |
shell_integrations: Fix the precompiled headers usage in OCUtil
Enable it in all configurations and add the missing include.
Diffstat (limited to 'shell_integration')
-rw-r--r-- | shell_integration/windows/OCUtil/CommunicationSocket.cpp | 2 | ||||
-rw-r--r-- | shell_integration/windows/OCUtil/OCUtil.vcxproj | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/shell_integration/windows/OCUtil/CommunicationSocket.cpp b/shell_integration/windows/OCUtil/CommunicationSocket.cpp index 5403e4869..e848fbfd8 100644 --- a/shell_integration/windows/OCUtil/CommunicationSocket.cpp +++ b/shell_integration/windows/OCUtil/CommunicationSocket.cpp @@ -12,6 +12,8 @@ * details. */ +#include "stdafx.h" + #include "CommunicationSocket.h" #include "UtilConstants.h" #include "StringUtil.h" diff --git a/shell_integration/windows/OCUtil/OCUtil.vcxproj b/shell_integration/windows/OCUtil/OCUtil.vcxproj index 9a355e6b4..cd5db9a87 100644 --- a/shell_integration/windows/OCUtil/OCUtil.vcxproj +++ b/shell_integration/windows/OCUtil/OCUtil.vcxproj @@ -105,6 +105,7 @@ <ClCompile> <WarningLevel>Level3</WarningLevel> <Optimization>Disabled</Optimization> + <PrecompiledHeader>Use</PrecompiledHeader> </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> @@ -118,6 +119,7 @@ <Optimization>MaxSpeed</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> + <PrecompiledHeader>Use</PrecompiledHeader> </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> @@ -133,6 +135,7 @@ <Optimization>MaxSpeed</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> + <PrecompiledHeader>Use</PrecompiledHeader> </ClCompile> <Link> <GenerateDebugInformation>true</GenerateDebugInformation> @@ -159,6 +162,8 @@ <ClCompile Include="stdafx.cpp"> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader> + <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader> </ClCompile> <ClCompile Include="StringUtil.cpp" /> </ItemGroup> |