How can I do a parallel build in Visual Studio 2010?

前端 未结 6 1797
太阳男子
太阳男子 2020-12-23 12:18

How can I get VS 2010 to run more than one C++ compile process at a time? I mean building object modules in parallel; I\'m not interested in building more than one project a

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-23 13:11

    jom is the tool you are looking for.

    From the wiki at: http://qt-project.org/wiki/jom

    jom is a clone of nmake to support the execution of multiple independent commands in parallel. It basically adds the -j command line switch similar to GNU make.

    While most of the documentation is aimed at Qt developers trying to speed up Qt library builds on windows, jom should work perfectly well in non Qt projects too, as long as you have an nmake compatible makefile.

    The wiki page has binaries you can download, and you call jom as you would nmake.

提交回复
热议问题