[CMake] custom commands not run in parallel with Visual Studio (2010) generator
Bill Hoffman
bill.hoffman at kitware.com
Tue Oct 12 09:55:48 EDT 2010
On 10/12/2010 9:09 AM, Thomas Sondergaard wrote:
> Hi,
>
> I've noticed that Visual Studio doesn't run custom commands added with
> add_custom_command in parallel. This means running moc and uic is slow
> on Windows. Is there something that can be done about this?
>
No, I don't think so, VS does not work like that. It only does target
parallelism. Not per-command parallelism. It never has don that... You
can get the compiler to do it with the /MP flag, but not custom
commands, unless the command itself supported it.
-Bill
More information about the CMake
mailing list