Author: akhaldi
Date: Thu Jul 28 15:57:04 2011
New Revision: 52978
URL:
http://svn.reactos.org/svn/reactos?rev=52978&view=rev
Log:
[SYSSETUP]
* Add a PCH.
Added:
trunk/reactos/dll/win32/syssetup/precomp.h (with props)
Modified:
trunk/reactos/dll/win32/syssetup/CMakeLists.txt
trunk/reactos/dll/win32/syssetup/classinst.c
trunk/reactos/dll/win32/syssetup/dllmain.c
trunk/reactos/dll/win32/syssetup/install.c
trunk/reactos/dll/win32/syssetup/logfile.c
trunk/reactos/dll/win32/syssetup/syssetup.rbuild
trunk/reactos/dll/win32/syssetup/wizard.c
Modified: trunk/reactos/dll/win32/syssetup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/CMakeLists.txt [iso-8859-1] Thu Jul 28 15:57:04 2011
@@ -15,9 +15,8 @@
${CMAKE_CURRENT_BINARY_DIR}/syssetup.def)
add_library(syssetup SHARED ${SOURCE})
-
+add_pch(syssetup precomp.h)
set_module_type(syssetup win32dll)
-
target_link_libraries(syssetup uuid ${PSEH_LIB})
add_importlibs(syssetup
Modified: trunk/reactos/dll/win32/syssetup/classinst.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/classin…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/classinst.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/classinst.c [iso-8859-1] Thu Jul 28 15:57:04 2011
@@ -6,8 +6,7 @@
* PROGRAMMERS: Copyright 2006 Hervé Poussineau (hpoussin(a)reactos.org)
*/
-#include <windows.h>
-#include <setupapi.h>
+#include "precomp.h"
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/dll/win32/syssetup/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/dllmain…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/dllmain.c [iso-8859-1] Thu Jul 28 15:57:04 2011
@@ -27,12 +27,7 @@
/* INCLUDES *****************************************************************/
-#include <windows.h>
-#include <commctrl.h>
-#include <setupapi.h>
-
-#include "globals.h"
-
+#include "precomp.h"
/* GLOBALS *******************************************************************/
Modified: trunk/reactos/dll/win32/syssetup/install.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/install…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/install.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/install.c [iso-8859-1] Thu Jul 28 15:57:04 2011
@@ -26,28 +26,7 @@
/* INCLUDES *****************************************************************/
-#define WIN32_NO_STATUS
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-
-#include <commctrl.h>
-#include <stdio.h>
-#include <io.h>
-#include <tchar.h>
-#include <stdlib.h>
-
-#include <samlib/samlib.h>
-#include <syssetup/syssetup.h>
-#include <userenv.h>
-#include <setupapi.h>
-
-#include <shlobj.h>
-#include <objidl.h>
-#include <shlwapi.h>
-
-#include "globals.h"
-#include "resource.h"
+#include "precomp.h"
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/dll/win32/syssetup/logfile.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/logfile…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/logfile.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/logfile.c [iso-8859-1] Thu Jul 28 15:57:04 2011
@@ -25,12 +25,7 @@
*/
/* INCLUDES *****************************************************************/
-#define WIN32_NO_STATUS
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-
-#include <syssetup/syssetup.h>
+#include "precomp.h"
/* GLOBALS ******************************************************************/
Added: trunk/reactos/dll/win32/syssetup/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/precomp…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/precomp.h (added)
+++ trunk/reactos/dll/win32/syssetup/precomp.h [iso-8859-1] Thu Jul 28 15:57:04 2011
@@ -1,0 +1,25 @@
+#define WIN32_NO_STATUS
+#include <windows.h>
+#include <windowsx.h>
+
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
+
+#include <setupapi.h>
+#include <commctrl.h>
+#include <stdio.h>
+#include <io.h>
+#include <tchar.h>
+#include <stdlib.h>
+#include <samlib/samlib.h>
+#include <syssetup/syssetup.h>
+#include <userenv.h>
+#include <shlobj.h>
+#include <objidl.h>
+#include <shlwapi.h>
+#include <string.h>
+#include <pseh/pseh2.h>
+#include <time.h>
+
+#include "globals.h"
+#include "resource.h"
Propchange: trunk/reactos/dll/win32/syssetup/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/syssetup/syssetup.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/syssetu…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/syssetup.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/syssetup.rbuild [iso-8859-1] Thu Jul 28 15:57:04
2011
@@ -20,4 +20,5 @@
<file>logfile.c</file>
<file>wizard.c</file>
<file>syssetup.rc</file>
+ <pch>precomp.h</pch>
</module>
Modified: trunk/reactos/dll/win32/syssetup/wizard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/wizard.…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/wizard.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/wizard.c [iso-8859-1] Thu Jul 28 15:57:04 2011
@@ -9,26 +9,10 @@
/* INCLUDES *****************************************************************/
-#include <ntstatus.h>
-#define WIN32_NO_STATUS
-#include <windows.h>
-#include <windowsx.h>
-#include <commctrl.h>
-#include <string.h>
-#include <setupapi.h>
-#include <pseh/pseh2.h>
-#include <shlobj.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-#include <time.h>
-
-#include <syssetup/syssetup.h>
+#include "precomp.h"
#define NDEBUG
#include <debug.h>
-
-#include "globals.h"
-#include "resource.h"
#define VMWINST