mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 05:39:57 -05:00
stringapi: Use strings for property names
Property names are always generated by CMake and should never be NULL.
This commit is contained in:
@@ -21,16 +21,16 @@ public std::map<cmStdString,cmPropertyDefinition>
|
||||
{
|
||||
public:
|
||||
// define the property
|
||||
void DefineProperty(const char *name, cmProperty::ScopeType scope,
|
||||
void DefineProperty(const cmStdString& name, cmProperty::ScopeType scope,
|
||||
const char *ShortDescription,
|
||||
const char *FullDescription,
|
||||
bool chain);
|
||||
|
||||
// has a named property been defined
|
||||
bool IsPropertyDefined(const char *name);
|
||||
bool IsPropertyDefined(const cmStdString& name);
|
||||
|
||||
// is a named property set to chain
|
||||
bool IsPropertyChained(const char *name);
|
||||
bool IsPropertyChained(const cmStdString& name);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user