reactos/drivers/filesystems/nfs/CMakeLists.txt
Hermès Bélusca-Maïto 2c032f3fc9
[BOOTDATA][FS] Small adjustments of filesystem drivers registry parameters.
- Fix the ErrorControl values to 1 (SERVICE_ERROR_NORMAL).
- Fix RamDisk driver type (it's SERVICE_KERNEL_DRIVER, not FS).
- btrfs.inf : This is a filesystem driver, so fix its ServiceType.

- Move 3rd-party FS data (btrfs, ext2, nfs(d)) from the system
  hivesys.inf and into their dedicated **.reg.inf files.
2022-04-18 02:40:33 +02:00

26 lines
776 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(GCC OR CLANG)
target_compile_options(nfs41_driver PRIVATE "-Wno-switch")
if(CLANG)
target_compile_options(nfs41_driver PRIVATE "-Wno-unused-value")
endif()
endif()
set_property(TARGET nfs41_driver PROPERTY C_STANDARD 90)
add_cd_file(TARGET nfs41_driver DESTINATION reactos/system32/drivers FOR all)
add_registry_inf(nfs41_reg.inf)