Configurations¶
The project nfsrvapi provides the interface to server driver functions. It is possible to link with API code statically or build and use it as a separate dll. Here is a list of nfapi project configurations:
Debug : builds the debug version of nfsrvapi.dll and nfsrvapi.lib to link with dll.
Release : builds the release version of nfsrvapi.dll and nfsrvapi.lib to link with dll.
Debug_c_api : builds the debug version of nfsrvapi.dll with pure C interface and nfsrvapi.lib to link with dll.
Release_c_api : builds the release version of nfsrvapi.dll with pure C interface and nfsrvapi.lib to link with dll.
Debug_static_dll : builds the debug version of static library nfsrvapi.lib, linking with C runtime dynamically (uses /MDd compiler flag).
Release_static_dll : builds the release version of static library nfsrvapi.lib, linking with C runtime dynamically (uses /MD compiler flag).
Release_static : builds the release version of static library nfsrvapi.lib, linking statically with C runtime (uses /MT compiler flag).
Each configuration uses a separate lib subfolder with the corresponding name. Add the macro lib$(ConfigurationName)$(PlatformName) to “Additional library directories” in your project settings to link with the proper version of nfsrvapi.lib.