View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010889CMakeCMakepublic2010-06-24 20:322016-06-10 14:31
ReporterDavi Arnaut 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0010889: SET is prone to misuse
DescriptionThe SET syntax for variable names accepts oddly named variables such as:

SET(FOO_DEFINES"-DFOO")

even though it is likely a mistake.

Is there a formal description of the accept variable names? In any case, it would be nice if CMake could warn (perhaps in debug mode) about suspicious variable names.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0024779)
David Cole (manager)
2011-01-17 13:06

Define "suspicious" and "odd" -- since CMake has not enforced variable names from day 1, there are probably hundreds of projects that use variable names that are presently *valid* but that we would flag as "suspicious" based on reasonable assumptions.

How can we make a change here without breaking such projects....?
(0041716)
Kitware Robot (administrator)
2016-06-10 14:28

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
2010-06-24 20:32 Davi Arnaut New Issue
2011-01-17 13:06 David Cole Note Added: 0024779
2011-01-17 13:06 David Cole Assigned To => David Cole
2011-01-17 13:06 David Cole Status new => assigned
2011-10-25 22:46 David Cole Assigned To David Cole =>
2011-10-25 22:46 David Cole Status assigned => backlog
2016-06-10 14:28 Kitware Robot Note Added: 0041716
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team