summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/stdafx.cpp18
-rw-r--r--src/mir_core/mir_core_10.vcxproj8
-rw-r--r--src/mir_core/mir_core_10.vcxproj.filters3
-rw-r--r--src/mir_core/stdafx.cpp18
-rw-r--r--src/miranda32_10.vcxproj3
-rw-r--r--src/miranda32_10.vcxproj.filters3
6 files changed, 47 insertions, 6 deletions
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">