Sync with trunk r58687.
[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
12 add_library(fbtusb SHARED
13 ${SOURCE}
14 fbtusb.rc)
15
16 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
17 if(NOT MSVC)
18 #allow_warnings(fbtusb)
19 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
20 endif()
21
22 set_module_type(fbtusb kernelmodedriver)
23 add_importlibs(fbtusb ntoskrnl hal usbd)
24 add_cd_file(TARGET fbtusb DESTINATION reactos/system32/drivers FOR all)