[CMake] Visual Studio parallel builds

Bill Hoffman bill.hoffman at kitware.com
Wed Jul 6 23:03:56 EDT 2005


The best you can do, is to use the unix makefile generator on windows with cl as
the compiler.  Then use gmake -j2  to do the parallel build.  However, you have
to change the flags for cl so it does not use a program database or pdb file for
debug information.   I think it is -Z7 or something like that.   The pdb  file can
not be written by more than one program at a time, and there is one per directory
not file.

-Bill

At 06:16 PM 7/6/2005, William S Fulton wrote:
>I've never worked out how to get Visual Studio to do parallel builds; I don't believe it is possible. I don't suppose CMake can generate VS project files that can do this somehow?
>
>William
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list