On Mon, Sep 22, 2014 at 5:40 PM, Bill Hoffman <[email protected]> wrote:
> On 9/22/2014 1:45 AM, Cristian Adam wrote: > >> >> On QNX side, thins are not as good. First, in order to compile >> the project I had to apply this patch [1], provided by Stephen Kelly. >> >> And now the "fail" part for QNX, the second subsequent build >> doesn't say "ninja: no work to do" instead it starts compiling, >> taking as much as 70% of the original clean build time :( >> >> Now I don't know who to blame cmake or ninja? >> > There is no way to really tell what is going on from what you have > posted. What about the third time you run ninja does it have nothing todo? > For the 3rd time, 4th time etc. same thing happens. > > You can run: > ninja -d explain > to see why ninja wants to run things. Sounds like some input files are > getting changed during your build for QNX for some reason. > > -Bill > > "-d explain" parameter gives for lots of files (probably all) in the project (headers, source files, object files, static libraries, executables) "is dirty" This means that ninja's method of detecting if a file has been changed doesn't quite work for QNX. Or is this being set by cmake? Some compiler flag which needs a -Wc, or -Wp prefix? Cheers, Cristian.
-- 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
