From f17beda433e212f9e6a33b6a8222c00416b8087c Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Tue, 11 Feb 2014 22:03:16 +0000 Subject: [PATCH] [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 --- reactos/drivers/bluetooth/fbtusb/CMakeLists.txt | 4 +++- reactos/drivers/bluetooth/fbtusb/precomp.h | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 reactos/drivers/bluetooth/fbtusb/precomp.h diff --git a/reactos/drivers/bluetooth/fbtusb/CMakeLists.txt b/reactos/drivers/bluetooth/fbtusb/CMakeLists.txt index 97d582f9527..255c565ff75 100644 --- a/reactos/drivers/bluetooth/fbtusb/CMakeLists.txt +++ b/reactos/drivers/bluetooth/fbtusb/CMakeLists.txt @@ -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) diff --git a/reactos/drivers/bluetooth/fbtusb/precomp.h b/reactos/drivers/bluetooth/fbtusb/precomp.h new file mode 100644 index 00000000000..2fccdf748c8 --- /dev/null +++ b/reactos/drivers/bluetooth/fbtusb/precomp.h @@ -0,0 +1,14 @@ +#ifndef _FBTUSB_PCH_ +#define _FBTUSB_PCH_ + +#include + +#include "fbtusb.h" +#include "fbtpnp.h" +#include "fbtpwr.h" +#include "fbtdev.h" +#include "fbtwmi.h" +#include "fbtrwr.h" +#include "fbtusr.h" + +#endif /* _FBTUSB_PCH_ */