mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +00:00
[FTUSB]
* 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:
parent
87399ed5fb
commit
f17beda433
2 changed files with 17 additions and 1 deletions
|
@ -7,7 +7,8 @@ list(APPEND SOURCE
|
||||||
fbtpwr.c
|
fbtpwr.c
|
||||||
fbtrwr.c
|
fbtrwr.c
|
||||||
# fbtwmi.c
|
# fbtwmi.c
|
||||||
fbtusb.c)
|
fbtusb.c
|
||||||
|
precomp.h)
|
||||||
|
|
||||||
add_library(fbtusb SHARED ${SOURCE} fbtusb.rc)
|
add_library(fbtusb SHARED ${SOURCE} fbtusb.rc)
|
||||||
|
|
||||||
|
@ -19,4 +20,5 @@ endif()
|
||||||
|
|
||||||
set_module_type(fbtusb kernelmodedriver)
|
set_module_type(fbtusb kernelmodedriver)
|
||||||
add_importlibs(fbtusb ntoskrnl hal usbd)
|
add_importlibs(fbtusb ntoskrnl hal usbd)
|
||||||
|
add_pch(fbtusb precomp.h SOURCE)
|
||||||
add_cd_file(TARGET fbtusb DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET fbtusb DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
14
reactos/drivers/bluetooth/fbtusb/precomp.h
Normal file
14
reactos/drivers/bluetooth/fbtusb/precomp.h
Normal 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_ */
|
Loading…
Reference in a new issue