mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Rename cmProp in cmValue
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmListFileCache.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmProperty.h"
|
||||
#include "cmStateTypes.h"
|
||||
#include "cmStringAlgorithms.h"
|
||||
#include "cmTargetLinkLibraryType.h"
|
||||
#include "cmValue.h"
|
||||
|
||||
class cmCustomCommand;
|
||||
class cmGlobalGenerator;
|
||||
@@ -170,21 +170,21 @@ public:
|
||||
|
||||
//! Set/Get a property of this target file
|
||||
void SetProperty(const std::string& prop, const char* value);
|
||||
void SetProperty(const std::string& prop, cmProp value);
|
||||
void SetProperty(const std::string& prop, cmValue value);
|
||||
void SetProperty(const std::string& prop, const std::string& value)
|
||||
{
|
||||
this->SetProperty(prop, cmProp(value));
|
||||
this->SetProperty(prop, cmValue(value));
|
||||
}
|
||||
void AppendProperty(const std::string& prop, const std::string& value,
|
||||
bool asString = false);
|
||||
//! Might return a nullptr if the property is not set or invalid
|
||||
cmProp GetProperty(const std::string& prop) const;
|
||||
cmValue GetProperty(const std::string& prop) const;
|
||||
//! Always returns a valid pointer
|
||||
std::string const& GetSafeProperty(std::string const& prop) const;
|
||||
bool GetPropertyAsBool(const std::string& prop) const;
|
||||
void CheckProperty(const std::string& prop, cmMakefile* context) const;
|
||||
cmProp GetComputedProperty(const std::string& prop, cmMessenger* messenger,
|
||||
cmListFileBacktrace const& context) const;
|
||||
cmValue GetComputedProperty(const std::string& prop, cmMessenger* messenger,
|
||||
cmListFileBacktrace const& context) const;
|
||||
//! Get all properties
|
||||
cmPropertyMap const& GetProperties() const;
|
||||
|
||||
@@ -199,8 +199,8 @@ public:
|
||||
bool IsPerConfig() const;
|
||||
bool CanCompileSources() const;
|
||||
|
||||
bool GetMappedConfig(std::string const& desired_config, cmProp& loc,
|
||||
cmProp& imp, std::string& suffix) const;
|
||||
bool GetMappedConfig(std::string const& desired_config, cmValue& loc,
|
||||
cmValue& imp, std::string& suffix) const;
|
||||
|
||||
//! Return whether this target is an executable with symbol exports enabled.
|
||||
bool IsExecutableWithExports() const;
|
||||
|
||||
Reference in New Issue
Block a user