Hi!

I'm having some issues with Ninja on Windows with long custom commands (or
actually a long succession of short commands appended to the same target).
The problem is that they get concatenated in one single command using " &&
" and it is pretty easy to go over the 8k command line size limit on
Windows.

So I've been thinking that on Windows, instead of concatenating everything,
we should be a script that is run using a response file that just runs all
the command with error checking. Eventually, we could reuse
cmLocalVisualStudioGenerator::ConstructScript() for that matter.

Any thought about this? Any hint for implementing this myself in the Ninja
generator? Do you think of another way to fix this issue?

Thanks,
/Florent
-- 

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-developers

Reply via email to