View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015104CMakeCMakepublic2014-08-25 09:522016-06-10 14:31
ReporterBryan Zimmerman 
Assigned ToKitware Robot 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformWindowsOS8.1OS Versionx64
Product VersionCMake 3.0.1 
Target VersionFixed in Version 
Summary0015104: ExternalProject_Add cannot pass strings containing quotes to command line
Descriptionit is impossible to send a command such as b2.exe cxxflags="/MT" to the command line.

If the quotes are escaped with \" then the '\"' will pass through to the command line instead of the expected '"'.

The workaround is to write the commands to a file where the \" works correctly and then call that file as the command.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0036680)
Brad King (manager)
2014-08-27 09:23

Please provide a more complete example, such as the entire ExternalProject_Add call.
(0042612)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2014-08-25 09:52 Bryan Zimmerman New Issue
2014-08-27 09:22 Brad King Summary ExternalAdd_Project cannot pass strings containing quotes to command line => ExternalProject_Add cannot pass strings containing quotes to command line
2014-08-27 09:23 Brad King Note Added: 0036680
2016-06-10 14:29 Kitware Robot Note Added: 0042612
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team