示例#1
0
        public override IVerbWorker getWorker()
        {
            List <string> args = new List <String>();

            args.Add(String.Format("OBJ={0}\\obj", _outputPath));
            args.Add(String.Format("BIN={0}", _outputPath));

            args.Add("-f");
            args.Add(_makefile.getFilesystemPath());

            return(new ProcessInvokeAsyncWorker(this,
                                                "c:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/nmake.exe",
                                                args.ToArray(),
                                                ProcessInvoker.RcHandling.NONZERO_RC_IS_FAILURE,
                                                workingDir: _makefile.getFilesystemDirPath(),
                                                failureBase: getDiagnosticsBase(),
                                                allowAbsoluteExe: true,
                                                allowAbsoluteArgs: true
                                                ));
        }