diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-08-30 12:25:44 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-08-30 12:25:44 +0000 |
commit | 27886af6334d2abd8315bee87aaa4314b91957c4 (patch) | |
tree | 7784acdf598f4647b13dd87f77f5f1dafda98a3c /protocols/Tox | |
parent | e1724ce95496f1f57ef31ca526875a963fb54919 (diff) |
precompiled header generation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@10345 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox')
-rw-r--r-- | protocols/Tox/Tox_10.vcxproj | 12 | ||||
-rw-r--r-- | protocols/Tox/Tox_10.vcxproj.filters | 6 | ||||
-rw-r--r-- | protocols/Tox/Tox_12.vcxproj | 13 | ||||
-rw-r--r-- | protocols/Tox/Tox_12.vcxproj.filters | 3 | ||||
-rw-r--r-- | protocols/Tox/src/stdafx.cpp | 18 |
5 files changed, 39 insertions, 13 deletions
diff --git a/protocols/Tox/Tox_10.vcxproj b/protocols/Tox/Tox_10.vcxproj index 13bd812278..fcce0d172b 100644 --- a/protocols/Tox/Tox_10.vcxproj +++ b/protocols/Tox/Tox_10.vcxproj @@ -84,7 +84,7 @@ <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
- <PrecompiledHeader>Create</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -113,7 +113,7 @@ <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
- <PrecompiledHeader>Create</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -141,7 +141,7 @@ <AdditionalIncludeDirectories>tox\include;..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
- <PrecompiledHeader>Create</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -172,7 +172,7 @@ <AdditionalIncludeDirectories>tox\include;..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
- <PrecompiledHeader>Create</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -195,7 +195,6 @@ </ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="src\common.h" />
- <ClInclude Include="src\file_transfer.h" />
<ClInclude Include="src\resource.h" />
<ClInclude Include="src\tox_bootstrap.h" />
<ClInclude Include="src\tox_proto.h" />
@@ -203,6 +202,9 @@ </ItemGroup>
<ItemGroup>
<ClCompile Include="src\main.cpp" />
+ <ClCompile Include="src\stdafx.cpp">
+ <PrecompiledHeader>Create</PrecompiledHeader>
+ </ClCompile>
<ClCompile Include="src\tox_account.cpp" />
<ClCompile Include="src\tox_accounts.cpp" />
<ClCompile Include="src\tox_events.cpp" />
diff --git a/protocols/Tox/Tox_10.vcxproj.filters b/protocols/Tox/Tox_10.vcxproj.filters index c2541a28e3..21a3f9b387 100644 --- a/protocols/Tox/Tox_10.vcxproj.filters +++ b/protocols/Tox/Tox_10.vcxproj.filters @@ -24,9 +24,6 @@ <ClInclude Include="src\resource.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="src\file_transfer.h">
- <Filter>Header Files</Filter>
- </ClInclude>
<ClInclude Include="src\tox_bootstrap.h">
<Filter>Header Files</Filter>
</ClInclude>
@@ -71,6 +68,9 @@ <ClCompile Include="src\tox_transfer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="src\stdafx.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="res\resource.rc">
diff --git a/protocols/Tox/Tox_12.vcxproj b/protocols/Tox/Tox_12.vcxproj index 1031f8995b..bf8d409a0e 100644 --- a/protocols/Tox/Tox_12.vcxproj +++ b/protocols/Tox/Tox_12.vcxproj @@ -88,7 +88,7 @@ <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
- <PrecompiledHeader>Create</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -117,7 +117,7 @@ <FunctionLevelLinking>true</FunctionLevelLinking>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <PrecompiledHeader>Create</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
@@ -145,7 +145,7 @@ <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>tox\include;..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- <PrecompiledHeader>Create</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
@@ -175,7 +175,7 @@ <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>tox\include;..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
- <PrecompiledHeader>Create</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
@@ -205,9 +205,12 @@ </ItemGroup>
<ItemGroup>
<ClCompile Include="src\main.cpp" />
+ <ClCompile Include="src\stdafx.cpp">
+ <PrecompiledHeader>Create</PrecompiledHeader>
+ </ClCompile>
<ClCompile Include="src\tox_account.cpp" />
- <ClCompile Include="src\tox_events.cpp" />
<ClCompile Include="src\tox_accounts.cpp" />
+ <ClCompile Include="src\tox_events.cpp" />
<ClCompile Include="src\tox_messages.cpp" />
<ClCompile Include="src\tox_netlib.cpp" />
<ClCompile Include="src\tox_options.cpp" />
diff --git a/protocols/Tox/Tox_12.vcxproj.filters b/protocols/Tox/Tox_12.vcxproj.filters index cdd0faa973..097780aae3 100644 --- a/protocols/Tox/Tox_12.vcxproj.filters +++ b/protocols/Tox/Tox_12.vcxproj.filters @@ -68,6 +68,9 @@ <ClCompile Include="src\tox_accounts.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="src\stdafx.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="res\resource.rc">
diff --git a/protocols/Tox/src/stdafx.cpp b/protocols/Tox/src/stdafx.cpp new file mode 100644 index 0000000000..2aa7ce281e --- /dev/null +++ b/protocols/Tox/src/stdafx.cpp @@ -0,0 +1,18 @@ +/*
+Copyright (C) 2012-14 Miranda NG project (http://miranda-ng.org)
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation version 2
+of the License.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#include "common.h"
\ No newline at end of file |