reactos/drivers/bluetooth/fbtusb/CMakeLists.txt
Victor Perevertkin 7e069ccdb2
[CMAKE] Replace custom functions to built-in ones
add_target_compile_definitions -> target_compile_definitions
add_target_compile_flags -> target_compile_options
add_target_include_directories -> target_include_directories
2020-04-16 15:59:38 +03:00

22 lines
475 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(NOT MSVC)
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)