From: J Decker [mailto:[email protected]]
Sent: Wednesday, September 16, 2015 1:30 PM
To: Greg Marr
Cc: Petr Bena; Cory Quammen; [email protected]; Bill Hoffman
Subject: Re: [CMake] Parallel builds
/mp has no effect on cmake projects since each file is compiled with a
separate command... it relies more on msbuild /m:<num> option...
from
https://msdn.microsoft.com/en-us/library/bb385193.aspx?f=255&MSPPError=-2147217396
cl /MP7 a.cpp b.cpp c.cpp d.cpp e.cpp
but cl is invoked for each source already; multiple sources aren't
passed to cl.
That's not true for the Visual Studio generator. CMake generates project
files, and Visual Studio builds them just like any other project file,
including using the /MP flag.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake