[cmake-developers] Ninja Issues with dependencies

Nicolas Desprès nicolas.despres at gmail.com
Wed Mar 14 15:36:59 EDT 2012


Try with this branch:
https://github.com/polrop/ninja/tree/depfile-parser-accept-tilde
I think that should fix your problem.

On Wed, Mar 14, 2012 at 7:58 PM, Chuck Atkins <chuck.atkins at kitware.com> wrote:
> Just to clarify with more information:
>
> cmake: d2d492f492a8a6082345e439a9c15418f0d483db
> - This is the head of the branch that was merged into next
>
> ninja: fdec96f54e92d2990ebf1ba5434b317d3d8ad49d
> - Tues, Mar. 13
>
>
> Chuck Atkins
> R&D Engineer, Kitware, Inc.
> (518) 371-3971 x603
> chuck.atkins at kitware.com
>
>
> -- "Mathematicians are tools for turning coffee grounds into formulas.",
> Paul Erdos
>
>
> On Wed, Mar 14, 2012 at 2:00 PM, Chuck Atkins <chuck.atkins at kitware.com>
> wrote:
>>
>> I'm trying to build a fairly large project (VXL, 4000 make targets) with
>> cmake+Ninja and I'm experiencing some strange issues:
>>
>> 1.  I configure the project with 'cmake -G Ninja'.  Everything works
>> great.
>> 2.  Build the project with 'ninja'.  Everything builds just fine (and VERY
>> fast I might add, nice job Ninja guys)
>> 3.  Rebuild with 'ninja', BREAK:
>> Recompacting log...
>> ninja: ERROR: expected depfile
>> 'v3p/Qv/CMakeFiles/Qv.dir/Templates/vcl_vector+QvNode~-.o.d' to mention
>> 'v3p/Qv/CMakeFiles/Qv.dir/Templates/vcl_vector+QvNode~-.o', got
>> 'v3p/Qv/CMakeFiles/Qv.dir/Templates/vcl_vector+QvNode'
>>
>> I can only re-build if I clean first with 'ninja -t clean'.  And yes, the
>> filenames are correct.  There are some files named "vcl_vector+QvNode~-.cxx"
>> (The result of some auto-code generating scripts).  Could it be that the
>> odd-ball characters in the filenames are breaking some regex somewhere?  Not
>> sureif the issue would be in ninja itself or in the cmake-ninja integration.
>>
>> Thanks
>>
>> Chuck Atkins
>> R&D Engineer, Kitware, Inc.
>>
>> -- "Mathematicians are tools for turning coffee grounds into formulas.",
>> Paul Erdos
>
>
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers



-- 
Nicolas Desprès



More information about the cmake-developers mailing list