Author: akhaldi
Date: Wed Jul 27 19:35:36 2011
New Revision: 52937
URL:
http://svn.reactos.org/svn/reactos?rev=52937&view=rev
Log:
[BLUE]
* Use blue.h as a PCH.
Modified:
trunk/reactos/drivers/setup/blue/CMakeLists.txt
trunk/reactos/drivers/setup/blue/blue.c
trunk/reactos/drivers/setup/blue/blue.h
trunk/reactos/drivers/setup/blue/blue.rbuild
Modified: trunk/reactos/drivers/setup/blue/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/setup/blue/CMakeLi…
==============================================================================
--- trunk/reactos/drivers/setup/blue/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/setup/blue/CMakeLists.txt [iso-8859-1] Wed Jul 27 19:35:36 2011
@@ -3,7 +3,7 @@
add_library(blue SHARED blue.c font.c blue.rc)
+add_pch(blue blue.h)
set_module_type(blue kernelmodedriver)
add_importlibs(blue ntoskrnl hal)
-
add_cd_file(TARGET blue DESTINATION reactos/system32/drivers NO_CAB FOR all)
Modified: trunk/reactos/drivers/setup/blue/blue.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/setup/blue/blue.c?…
==============================================================================
--- trunk/reactos/drivers/setup/blue/blue.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/setup/blue/blue.c [iso-8859-1] Wed Jul 27 19:35:36 2011
@@ -10,14 +10,6 @@
/* INCLUDES ******************************************************************/
-#include <ntddk.h>
-#include <windef.h>
-#define WINBASEAPI
-typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES;
-
-#include <wincon.h>
-#include <blue/ntddblue.h>
-#include <ndk/inbvfuncs.h>
//#include <intrin.h>
#include "blue.h"
Modified: trunk/reactos/drivers/setup/blue/blue.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/setup/blue/blue.h?…
==============================================================================
--- trunk/reactos/drivers/setup/blue/blue.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/setup/blue/blue.h [iso-8859-1] Wed Jul 27 19:35:36 2011
@@ -7,6 +7,15 @@
*/
/* DEFINITIONS ***************************************************************/
+
+#include <ntddk.h>
+#include <windef.h>
+
+typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES;
+#include <wincon.h>
+
+#include <blue/ntddblue.h>
+#include <ndk/inbvfuncs.h>
#include <string.h>
#include <stdio.h>
Modified: trunk/reactos/drivers/setup/blue/blue.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/setup/blue/blue.rb…
==============================================================================
--- trunk/reactos/drivers/setup/blue/blue.rbuild [iso-8859-1] (original)
+++ trunk/reactos/drivers/setup/blue/blue.rbuild [iso-8859-1] Wed Jul 27 19:35:36 2011
@@ -8,4 +8,5 @@
<file>blue.c</file>
<file>font.c</file>
<file>blue.rc</file>
+ <pch>blue.h</pch>
</module>