[cmake-developers] [CMake 0014964]: Command line scanning is bad with spaces

Mantis Bug Tracker mantis at public.kitware.com
Mon Jun 9 10:33:05 EDT 2014


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



More information about the cmake-developers mailing list