mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[SCSIPORT]
* Add a PCH. svn path=/trunk/; revision=52943
This commit is contained in:
@@ -8,10 +8,8 @@ list(APPEND SOURCE
|
||||
${CMAKE_CURRENT_BINARY_DIR}/scsiport.def)
|
||||
|
||||
add_library(scsiport SHARED ${SOURCE})
|
||||
|
||||
add_pch(scsiport precomp.h)
|
||||
set_module_type(scsiport kernelmodedriver)
|
||||
|
||||
add_importlibs(scsiport ntoskrnl hal)
|
||||
add_importlib_target(scsiport.spec)
|
||||
|
||||
add_cd_file(TARGET scsiport DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#include <ntddk.h>
|
||||
#include <srb.h>
|
||||
#include <scsi.h>
|
||||
#include <ntddscsi.h>
|
||||
#include <ntddstor.h>
|
||||
#include <ntdddisk.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "scsiport_int.h"
|
||||
@@ -27,22 +27,13 @@
|
||||
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
||||
#include <ntddk.h>
|
||||
#include <srb.h>
|
||||
#include <scsi.h>
|
||||
#include <ntddscsi.h>
|
||||
#include <ntddstor.h>
|
||||
#include <ntdddisk.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include "precomp.h"
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define NDEBUG
|
||||
#endif
|
||||
#include <debug.h>
|
||||
|
||||
#include "scsiport_int.h"
|
||||
|
||||
ULONG InternalDebugLevel = 0x00;
|
||||
|
||||
#undef ScsiPortMoveMemory
|
||||
|
||||
@@ -10,4 +10,5 @@
|
||||
<file>scsiport.c</file>
|
||||
<file>stubs.c</file>
|
||||
<file>scsiport.rc</file>
|
||||
<pch>precomp.h</pch>
|
||||
</module>
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
||||
#include <ntddk.h>
|
||||
#include <srb.h>
|
||||
#include "precomp.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
Reference in New Issue
Block a user