View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010356CMakeCMakepublic2010-03-02 16:382012-02-15 13:32
ReporterPat Marion 
Assigned ToBen Boeckel 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.4Fixed in VersionCMake 2.8.4 
Summary0010356: Problem specifying arguments on the command line containing '='
DescriptionIf I configure with -DCMAKE_CXX_FLAGS:STRING="qarch=440" then everything is OK, but if I don't specify STRING and configure with -DCMAKE_CXX_FLAGS="qarch=440" then I get this in the CMakeCache.txt:

CMAKE_CXX_FLAGS:STRING=
CMAKE_CXX_FLAGS=-qarch:UNINITIALIZED=440

If there is no '=' in the cxx flags then there are no problems.
Additional InformationBrad's initial comments:

"I think it's a problem with the regular expression CMake uses to
separate on the '=' sign. It must be greedily taking everything
until the last '='."
TagsNo tags attached.
Attached Files

 Relationships
has duplicate 0011495closedBen Boeckel CMAKE_INSTALL_PREFIX cannot contain the '=' character in the path 
has duplicate 0009214closedDavid Cole -D option can't use value with equals sign 

  Notes
(0023791)
David Cole (manager)
2010-12-08 08:16

You fixed this problem recently, right, Ben?
(0023830)
Ben Boeckel (developer)
2010-12-08 17:48

Yep. It's actually in next right now. As of 22 Nov 2010. Commit 9bfecdb01af5ad8338f1a5dc0031dfccb53b614d.
(0024472)
Ben Boeckel (developer)
2011-01-06 14:34

Merged into master.

http://cmake.org/gitweb?p=cmake.git;a=commit;h=5b00b2a2018cfd3fdb52185e8c4852dc0c50fc89 [^]
(0026317)
David Cole (manager)
2011-05-02 14:45

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2010-03-02 16:38 Pat Marion New Issue
2010-12-08 08:15 David Cole Assigned To => Ben Boeckel
2010-12-08 08:15 David Cole Status new => assigned
2010-12-08 08:16 David Cole Note Added: 0023791
2010-12-08 08:16 David Cole Target Version => CMake 2.8.4
2010-12-08 09:24 David Cole Relationship added has duplicate 0011495
2010-12-08 17:48 Ben Boeckel Note Added: 0023830
2010-12-14 15:50 David Cole Relationship added has duplicate 0009214
2011-01-06 14:34 Ben Boeckel Note Added: 0024472
2011-01-06 14:34 Ben Boeckel Status assigned => resolved
2011-01-06 14:34 Ben Boeckel Resolution open => fixed
2011-01-06 14:34 Ben Boeckel Fixed in Version => CMake 2.8.4
2011-05-02 14:45 David Cole Note Added: 0026317
2011-05-02 14:45 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team