* Sync up to trunk head (r65394).
[reactos.git] / drivers / bluetooth / fbtusb / CMakeLists.txt
1
2 include_directories(include)
3
4 list(APPEND SOURCE
5 fbtdev.c
6 fbtpnp.c
7 fbtpwr.c
8 fbtrwr.c
9 # fbtwmi.c
10 fbtusb.c
11 precomp.h)
12
13 add_library(fbtusb SHARED ${SOURCE} fbtusb.rc)
14
15 if((NOT MSVC) AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
16 add_target_compile_flags(fbtusb "-Wno-unused-but-set-variable")
17 endif()
18
19 set_module_type(fbtusb kernelmodedriver)
20 add_importlibs(fbtusb ntoskrnl hal usbd)
21 add_pch(fbtusb precomp.h SOURCE)
22 add_cd_file(TARGET fbtusb DESTINATION reactos/system32/drivers FOR all)