* Introduce a PCH suitable for use without altering the 3rd party code.
* Prepare the CMake scripts for PCH.
CORE-7716

svn path=/trunk/; revision=62123
This commit is contained in:
Amine Khaldi 2014-02-11 22:03:16 +00:00
parent 87399ed5fb
commit f17beda433
2 changed files with 17 additions and 1 deletions

View file

@ -7,7 +7,8 @@ list(APPEND SOURCE
fbtpwr.c
fbtrwr.c
# fbtwmi.c
fbtusb.c)
fbtusb.c
precomp.h)
add_library(fbtusb SHARED ${SOURCE} fbtusb.rc)
@ -19,4 +20,5 @@ endif()
set_module_type(fbtusb kernelmodedriver)
add_importlibs(fbtusb ntoskrnl hal usbd)
add_pch(fbtusb precomp.h SOURCE)
add_cd_file(TARGET fbtusb DESTINATION reactos/system32/drivers FOR all)

View file

@ -0,0 +1,14 @@
#ifndef _FBTUSB_PCH_
#define _FBTUSB_PCH_
#include <stdio.h>
#include "fbtusb.h"
#include "fbtpnp.h"
#include "fbtpwr.h"
#include "fbtdev.h"
#include "fbtwmi.h"
#include "fbtrwr.h"
#include "fbtusr.h"
#endif /* _FBTUSB_PCH_ */