1
2include_directories(include)
3
4list(APPEND SOURCE
5    fbtdev.c
6    fbtpnp.c
7    fbtpwr.c
8    fbtrwr.c
9#   fbtwmi.c
10    fbtusb.c
11    precomp.h)
12
13add_library(fbtusb MODULE ${SOURCE} fbtusb.rc)
14
15if(NOT MSVC)
16    target_compile_options(fbtusb PRIVATE "-Wno-unused-but-set-variable")
17endif()
18
19set_module_type(fbtusb kernelmodedriver)
20add_importlibs(fbtusb ntoskrnl hal usbd)
21add_pch(fbtusb precomp.h SOURCE)
22add_cd_file(TARGET fbtusb DESTINATION reactos/system32/drivers FOR all)
23