<html><head></head><body>Hi,<br>
<br>
did you really enable parallel compiling in VS with /MP24 or the like? Note that using devenv to build uses the number from the IDE user settings but using msbuild needs a command line option.<br>
<br>
Else just create a custom target that calls cmake for ninja and afterwards ninja itself in yet another build tree. you can limit the creation of that target to if(MSVC_IDE).<br>
<br>
HS<br>
<br><br><div class="gmail_quote">Am 31. August 2015 16:35:01 MESZ, schrieb Guillaume Dumont <dumont.guillaume@gmail.com>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div><div>Hi all, <br /><br /></div>I would like to know what kind of effort would it take to generate a Visual Studio generator that bypasses the normal MSBuild build and uses Ninja instead. I have been working on different projects which build much faster with ninja than MSBuild (several orders of magnitude on a machine with 24 cores). Still I like to use the Visual Studio environment to use the debugger. Using ninja is especially useful for projects with a lot of CUDA files which are built sequentially for every target using MSVS.<br /><br /></div>I would like to contribute but I don't really know where to start and if such an effort already exists.<br clear="all" /><div><div><div><div><div><div></div></div></div></div></div></div></div></blockquote></div></body></html>