From 52245921c5eb8d6e77d2f18ac692e33622af3915 Mon Sep 17 00:00:00 2001
From: Vadim Dashevskiy <watcherhd@gmail.com>
Date: Wed, 21 Nov 2012 11:26:23 +0000
Subject: consistent hash generation fix - part 4

git-svn-id: http://svn.miranda-ng.org/main/trunk@2412 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 src/core/stdafx.cpp                      | 18 ++++++++++++++++++
 src/mir_core/mir_core_10.vcxproj         |  8 +++-----
 src/mir_core/mir_core_10.vcxproj.filters |  3 +++
 src/mir_core/stdafx.cpp                  | 18 ++++++++++++++++++
 src/miranda32_10.vcxproj                 |  3 ++-
 src/miranda32_10.vcxproj.filters         |  3 +++
 6 files changed, 47 insertions(+), 6 deletions(-)
 create mode 100644 src/core/stdafx.cpp
 create mode 100644 src/mir_core/stdafx.cpp

(limited to 'src')

diff --git a/src/core/stdafx.cpp b/src/core/stdafx.cpp
new file mode 100644
index 0000000000..b985a910cd
--- /dev/null
+++ b/src/core/stdafx.cpp
@@ -0,0 +1,18 @@
+/*
+Copyright (C) 2012 Miranda NG team (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 "commonheaders.h"
\ No newline at end of file
diff --git a/src/mir_core/mir_core_10.vcxproj b/src/mir_core/mir_core_10.vcxproj
index ad96a2ac2c..edabb2b74f 100644
--- a/src/mir_core/mir_core_10.vcxproj
+++ b/src/mir_core/mir_core_10.vcxproj
@@ -27,11 +27,8 @@
   </ItemGroup>
   <ItemGroup>
     <ClCompile Include="cmdline.cpp" />
-    <ClCompile Include="commonheaders.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 Include="stdafx.cpp">
+      <PrecompiledHeader>Create</PrecompiledHeader>
     </ClCompile>
     <ClCompile Include="db.cpp" />
     <ClCompile Include="langpack.cpp" />
@@ -42,6 +39,7 @@
     <ClCompile Include="modules.cpp" />
     <ClCompile Include="path.cpp" />
     <ClCompile Include="sha1.cpp" />
+    <ClCompile Include="commonheaders.cpp" />
     <ClCompile Include="threads.cpp" />
     <ClCompile Include="utf.cpp" />
     <ClCompile Include="utils.cpp" />
diff --git a/src/mir_core/mir_core_10.vcxproj.filters b/src/mir_core/mir_core_10.vcxproj.filters
index d0a280985a..61188b5100 100644
--- a/src/mir_core/mir_core_10.vcxproj.filters
+++ b/src/mir_core/mir_core_10.vcxproj.filters
@@ -52,6 +52,9 @@
     <ClCompile Include="cmdline.cpp">
       <Filter>Source Files</Filter>
     </ClCompile>
+    <ClCompile Include="stdafx.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <ClInclude Include="commonheaders.h">
diff --git a/src/mir_core/stdafx.cpp b/src/mir_core/stdafx.cpp
new file mode 100644
index 0000000000..b985a910cd
--- /dev/null
+++ b/src/mir_core/stdafx.cpp
@@ -0,0 +1,18 @@
+/*
+Copyright (C) 2012 Miranda NG team (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 "commonheaders.h"
\ No newline at end of file
diff --git a/src/miranda32_10.vcxproj b/src/miranda32_10.vcxproj
index 6cbc520f14..006a9ee102 100644
--- a/src/miranda32_10.vcxproj
+++ b/src/miranda32_10.vcxproj
@@ -279,11 +279,12 @@
     <ClInclude Include="modules\xml\xmlParser.h" />
   </ItemGroup>
   <ItemGroup>
-    <ClCompile Include="core\commonheaders.cpp">
+    <ClCompile Include="core\stdafx.cpp">
       <PrecompiledHeader>Create</PrecompiledHeader>
     </ClCompile>
     <ClCompile Include="core\miranda.cpp" />
     <ClCompile Include="core\modules.cpp" />
+    <ClCompile Include="core\commonheaders.cpp" />
     <ClCompile Include="modules\addcontact\addcontact.cpp">
       <PrecompiledHeaderFile>..\..\core\commonheaders.h</PrecompiledHeaderFile>
     </ClCompile>
diff --git a/src/miranda32_10.vcxproj.filters b/src/miranda32_10.vcxproj.filters
index 98881de7bf..2a08b590be 100644
--- a/src/miranda32_10.vcxproj.filters
+++ b/src/miranda32_10.vcxproj.filters
@@ -632,6 +632,9 @@
     <ClCompile Include="modules\extraicons\options_ei.cpp">
       <Filter>Modules\extraicons</Filter>
     </ClCompile>
+    <ClCompile Include="core\stdafx.cpp">
+      <Filter>Core</Filter>
+    </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <ResourceCompile Include="resource.rc">
-- 
cgit v1.2.3