[CRT] Massively improve performance of rand_s
[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 MODULE ${SOURCE} fbtusb.rc)
14
15 if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
16 target_compile_options(fbtusb PRIVATE -Wno-unused-but-set-variable)
17 endif()
18
19 if(MSVC)
20 # Disable warning C4267: '=': conversion from 'size_t' to 'USHORT', possible loss of data
21 target_compile_options(fbtusb PRIVATE /wd4267)
22 endif()
23
24 set_module_type(fbtusb kernelmodedriver)
25 add_importlibs(fbtusb ntoskrnl hal usbd)
26 add_pch(fbtusb precomp.h SOURCE)
27 add_cd_file(TARGET fbtusb DESTINATION reactos/system32/drivers FOR all)