mirror of
https://github.com/reactos/CMake.git
synced 2025-02-20 11:52:04 +00:00
cmIDEOptions: Add GetDefines method
This commit is contained in:
parent
1adbe223cd
commit
8a619e8c85
@ -148,6 +148,11 @@ void cmIDEOptions::AddDefines(const std::vector<std::string>& defines)
|
||||
this->Defines.insert(this->Defines.end(), defines.begin(), defines.end());
|
||||
}
|
||||
|
||||
std::vector<std::string> const& cmIDEOptions::GetDefines() const
|
||||
{
|
||||
return this->Defines;
|
||||
}
|
||||
|
||||
void cmIDEOptions::AddFlag(const char* flag, const char* value)
|
||||
{
|
||||
this->FlagMap[flag] = value;
|
||||
|
@ -24,6 +24,8 @@ public:
|
||||
void AddDefine(const std::string& define);
|
||||
void AddDefines(const char* defines);
|
||||
void AddDefines(const std::vector<std::string>& defines);
|
||||
std::vector<std::string> const& GetDefines() const;
|
||||
|
||||
void AddFlag(const char* flag, const char* value);
|
||||
void AddFlag(const char* flag, std::vector<std::string> const& value);
|
||||
void AppendFlag(std::string const& flag, std::string const& value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user