The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=15295 ====================================================================== Reported By: Ilya Assigned To: ====================================================================== Project: CMake Issue ID: 15295 Category: CMake Reproducibility: always Severity: major Priority: high Status: new ====================================================================== Date Submitted: 2014-12-09 05:30 EST Last Modified: 2014-12-09 05:30 EST ====================================================================== Summary: CMake should not concatenate commands for cmd.exe Description: Commands like add_custom_target allows to specify many COMMAND parameters. On windows it concatenates all values into one big command and then passes to cmd.exe
Unfortunately cmd.exe has limit of the length of a command that can be passed: 8192. Therefore CMake should not attempt to concatenate but pass commands to cmd.exe one by one. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-12-09 05:30 Ilya New Issue ====================================================================== -- 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