ntirpc
ntirpc copied to clipboard
Added NETCONFIG override by environment variable.
The NETCONFIG location can be overidden by setting the "NETCONFIG_OVERRIDE" environment variable. This can facilitate unit testing.
Why do you want to override the netconfig file location?
It's needed for unit testing. In some testing environments the file doesn't contain what libntirpc expects.
Would a CMake compile-time option be suitable?