<p dir="ltr"><br>
On 23 Sep 2014 15:27, "Bill Hoffman" <<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>> wrote:<br>
><br>
><br>
> Seems that gmake supports that:<br>
> <a href="http://www.qnx.com/developers/docs/6.4.1/neutrino/prog/make_convent.html#Parallel">http://www.qnx.com/developers/docs/6.4.1/neutrino/prog/make_convent.html#Parallel</a><br>
></p>
<p dir="ltr">In theory it should work, but the mingw version they ship doesn't work.</p>
<p dir="ltr">I've upgraded to a version of make which does (one needs to pass SHELL=cmd.exe as an additional parameter), but when you haven't changed anything it still takes some time. This is where ninja comes into place.</p>
<p dir="ltr">>><br>
>> Found the problem though.<br>
>><br>
>> QCC compiler generates for this project dependency files which look like:<br>
>><br>
>> c:\projects\my_proj\include\/a.h \<br>
>> c:\projects\my_proj\src\/a.cpp \<br>
>> c:\projects\my_proj\other\..\/include/b.h \<br>
>> c:\projects\my_proj\other\..\/src/b.cpp \<br>
>><br>
>> The "\/" combination does not agree with ninja.<br>
>><br>
> That would do it.   How are the depends being created?  Is it ninja or CMake that is creating them on QNX?</p>
<p dir="ltr">CMake sets the right flags for qcc and qcc creates the dependency files.</p>
<p dir="ltr">Cheers,<br>
Cristian.</p>