4f44cf4349a49e4e8113b55e962b8549da42d946
[reactos.git] / reactos / drivers / filesystems / nfs / CMakeLists.txt
1 list(APPEND SOURCE
2 nfs41_driver.c
3 nfs41_debug.c
4 nfs41_driver.h
5 nfs41_debug.h)
6
7 include_directories(
8 ${REACTOS_SOURCE_DIR}/dll/np/nfs)
9
10 add_definitions(-DRDBSS_TRACKER)
11
12 add_library(nfs41_driver SHARED ${SOURCE} nfs.rc)
13 set_module_type(nfs41_driver kernelmodedriver)
14 target_link_libraries(nfs41_driver ntoskrnl_vista rdbsslib ${PSEH_LIB})
15 add_importlibs(nfs41_driver ntoskrnl hal)
16
17 if((NOT MSVC) AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
18 add_target_compile_flags(nfs41_driver "-Wno-switch")
19 endif()
20
21 add_cd_file(TARGET nfs41_driver DESTINATION reactos/system32/drivers FOR all)