reactos/drivers/filesystems/nfs/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

24 lines
708 B
CMake

list(APPEND SOURCE
nfs41_driver.c
nfs41_debug.c
nfs41_driver.h
nfs41_debug.h)
include_directories(
${REACTOS_SOURCE_DIR}/dll/np/nfs)
add_definitions(-DRDBSS_TRACKER)
add_library(nfs41_driver MODULE ${SOURCE} nfs.rc)
set_module_type(nfs41_driver kernelmodedriver)
target_link_libraries(nfs41_driver ntoskrnl_vista rdbsslib rxce copysup memcmp ${PSEH_LIB})
add_importlibs(nfs41_driver ntoskrnl hal)
if(USE_CLANG_CL OR (NOT MSVC))
target_compile_options(nfs41_driver PRIVATE "-Wno-switch")
if(USE_CLANG_CL)
target_compile_options(nfs41_driver PRIVATE "-Wno-unused-value")
endif()
endif()
add_cd_file(TARGET nfs41_driver DESTINATION reactos/system32/drivers FOR all)