reactos/drivers/bluetooth/fbtusb/CMakeLists.txt
Victor Perevertkin 74ec94e12c [CMAKE] Some options are only supported by GCC, don't use them for clang
These are (so far):
-Wno-format-overflow
-Wno-nonnull-compare
-Wno-old-style-declaration
-Wno-unused-but-set-variable
2021-04-09 03:58:19 +03:00

23 lines
499 B
CMake

include_directories(include)
list(APPEND SOURCE
fbtdev.c
fbtpnp.c
fbtpwr.c
fbtrwr.c
# fbtwmi.c
fbtusb.c
precomp.h)
add_library(fbtusb MODULE ${SOURCE} fbtusb.rc)
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
target_compile_options(fbtusb PRIVATE -Wno-unused-but-set-variable)
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)