Author: akhaldi
Date: Thu Aug 11 15:06:36 2011
New Revision: 53179
URL:
http://svn.reactos.org/svn/reactos?rev=53179&view=rev
Log:
[MSPORTS]
* Add a PCH.
Added:
trunk/reactos/dll/win32/msports/precomp.h (with props)
Modified:
trunk/reactos/dll/win32/msports/CMakeLists.txt
trunk/reactos/dll/win32/msports/classinst.c
trunk/reactos/dll/win32/msports/comdb.c
trunk/reactos/dll/win32/msports/msports.c
trunk/reactos/dll/win32/msports/msports.rbuild
trunk/reactos/dll/win32/msports/serial.c
Modified: trunk/reactos/dll/win32/msports/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/msports/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msports/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:06:36 2011
@@ -13,12 +13,9 @@
${CMAKE_CURRENT_BINARY_DIR}/msports.def)
add_library(msports SHARED ${SOURCE})
-
set_module_type(msports win32dll)
-
target_link_libraries(msports wine)
-
add_importlibs(msports setupapi comctl32 user32 advapi32 msvcrt kernel32 ntdll)
-
+add_pch(msports precomp.h)
add_cd_file(TARGET msports DESTINATION reactos/system32 FOR all)
add_importlib_target(msports.spec)
Modified: trunk/reactos/dll/win32/msports/classinst.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/classins…
==============================================================================
--- trunk/reactos/dll/win32/msports/classinst.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msports/classinst.c [iso-8859-1] Thu Aug 11 15:06:36 2011
@@ -6,13 +6,7 @@
* PROGRAMMERS: Copyright 2011 Eric Kohl
*/
-#define WIN32_NO_STATUS
-#include <windows.h>
-#include <cmtypes.h>
-#include <stdio.h>
-#include <msports.h>
-#include <setupapi.h>
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(msports);
Modified: trunk/reactos/dll/win32/msports/comdb.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/comdb.c?…
==============================================================================
--- trunk/reactos/dll/win32/msports/comdb.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msports/comdb.c [iso-8859-1] Thu Aug 11 15:06:36 2011
@@ -6,10 +6,7 @@
* COPYRIGHT: Copyright 2011 Eric Kohl
*/
-#include <windows.h>
-#include <msports.h>
-
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(msports);
Modified: trunk/reactos/dll/win32/msports/msports.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/msports.…
==============================================================================
--- trunk/reactos/dll/win32/msports/msports.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msports/msports.c [iso-8859-1] Thu Aug 11 15:06:36 2011
@@ -6,9 +6,7 @@
* COPYRIGHT: Copyright 2011 Eric Kohl
*/
-#include <windows.h>
-#include <wine/debug.h>
-
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(msports);
Modified: trunk/reactos/dll/win32/msports/msports.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/msports.…
==============================================================================
--- trunk/reactos/dll/win32/msports/msports.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msports/msports.rbuild [iso-8859-1] Thu Aug 11 15:06:36 2011
@@ -12,4 +12,5 @@
<file>msports.c</file>
<file>serial.c</file>
<file>msports.rc</file>
+ <pch>precomp.h</pch>
</module>
Added: trunk/reactos/dll/win32/msports/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/precomp.…
==============================================================================
--- trunk/reactos/dll/win32/msports/precomp.h (added)
+++ trunk/reactos/dll/win32/msports/precomp.h [iso-8859-1] Thu Aug 11 15:06:36 2011
@@ -1,0 +1,15 @@
+#define WIN32_NO_STATUS
+#include <windows.h>
+#include <cmtypes.h>
+#include <stdio.h>
+#include <msports.h>
+#include <setupapi.h>
+#include <commctrl.h>
+#include <prsht.h>
+
+#include <wine/debug.h>
+
+//#include <windows.h>
+
+#include "internal.h"
+#include "resource.h"
Propchange: trunk/reactos/dll/win32/msports/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/msports/serial.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msports/serial.c…
==============================================================================
--- trunk/reactos/dll/win32/msports/serial.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msports/serial.c [iso-8859-1] Thu Aug 11 15:06:36 2011
@@ -6,15 +6,7 @@
* COPYRIGHT: Copyright 2011 Eric Kohl
*/
-#include <windows.h>
-#include <commctrl.h>
-#include <prsht.h>
-#include <setupapi.h>
-
-#include <wine/debug.h>
-
-#include "internal.h"
-#include "resource.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(msports);