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

Reply via email to