1 remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
2 add_definitions(-D_WIN32_WINNT=0x601)
3 add_definitions(-DNTDDI_VERSION=0x06010000)
6 ${REACTOS_SOURCE_DIR}/dll/3rdparty/libtirpc/tirpc
7 ${REACTOS_SOURCE_DIR}/drivers/filesystems/nfs
8 ${REACTOS_SOURCE_DIR}/dll/np/nfs)
48 add_executable(nfsd ${SOURCE} nfsd.rc)
52 # FIXME: Tons of warnings.
53 add_target_compile_flags(nfsd "-w")
56 set_module_type(nfsd win32cui)
57 add_importlibs(nfsd advapi32 iphlpapi kernel32_vista libtirpc msvcrt shell32 ws2_32 wldap32 kernel32 ntdll)
58 add_cd_file(TARGET nfsd DESTINATION reactos/system32 FOR all)
59 add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/netconfig" DESTINATION reactos/system32/drivers/etc FOR all)
60 add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/ms-nfs41-idmap.conf" DESTINATION reactos/system32/drivers/etc FOR all)