Add an AppendDefines std::string overload.
This makes it easier to use with cmGeneratorTarget::GetCompileDefinitions.
This commit is contained in:
parent
9a160871d0
commit
b7e48e0acb
|
@ -157,6 +157,11 @@ public:
|
||||||
*/
|
*/
|
||||||
void AppendDefines(std::set<std::string>& defines,
|
void AppendDefines(std::set<std::string>& defines,
|
||||||
const char* defines_list);
|
const char* defines_list);
|
||||||
|
void AppendDefines(std::set<std::string>& defines,
|
||||||
|
std::string defines_list)
|
||||||
|
{
|
||||||
|
this->AppendDefines(defines, defines_list.c_str());
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Join a set of defines into a definesString with a space separator.
|
* Join a set of defines into a definesString with a space separator.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue