The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=14964 ====================================================================== Reported By: Linus Assigned To: ====================================================================== Project: CMake Issue ID: 14964 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2014-06-09 10:33 EDT Last Modified: 2014-06-09 10:33 EDT ====================================================================== Summary: Command line scanning is bad with spaces Description: If the -D or -C options are used with a space between the flag and the argument after the path to the project, cmake will interpret the argument to the flag as being the intended source directory.
Steps to Reproduce: cmake . -D OPTION=VALUE # verbatim, run anywhere cmake . -C initial-script # idem Additional Information: Works fine with -DOPTION=VALUE or -Cinitial-script or if the options are placed (with spaces) before the build directory. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-06-09 10:33 Linus 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/cgi-bin/mailman/listinfo/cmake-developers