VCbuild and multiprocessor builds

I'm trying to do a multiprocessor build through vcbuild by following the format given in MSDN (C:\vcbuild /M2 "C:\MyExamples\MultiprocExample\Console1\Console1.vcproj" Debug "C:\MyExamples\MultiprocExample\Console2\Console2.vcproj" Debug)

The problem is that vcbuild doesn't recognize the second project as a valid option and ignores it.  Is this a known problem or is there a better way to do this

(This is being done from the Visual Studio 2005 install area).



Answer this question

VCbuild and multiprocessor builds

  • Cliff1234567

    You should create a solution that contains the 2 projects and run the solution through vcbuild using the /M2 option. In order to actually get the parallel build to run though, you need a dual-core or dual-processor machine.
    vcbuild.exe does not support multiple projects on the command line. If you found a reference in MSDN that says otherwise please do not hesitate to report this documentation bug to http://lab.msdn.microsoft.com/productfeedback/default.aspx.
    Thanks,
    Marian Luparu
    Visual C++ IDE

  • tala

    Thanks for the help - that makes sense with what I was seeing. I'll rework it and go from there.
  • VCbuild and multiprocessor builds