GYP can Generate Your Projects. Documents are available at gyp.gsrc.io, or you can check out md-pages branch to read those documents offline. This fork contains patches (among other misc stuff) for msvc 17, required to build nss on windows with msvc 17