The toplevel executables are here. The library code is on tools\lib\pipeline\coding\projbuild. The XML templates are in tools\etc\projbuild.