cmLocalGenerator: Constify target definitions access
This commit is contained in:
parent
a54eeddaae
commit
2fcafbf613
|
@ -1386,7 +1386,7 @@ std::string cmLocalGenerator::GetIncludeFlags(
|
|||
|
||||
//----------------------------------------------------------------------------
|
||||
void cmLocalGenerator::AddCompileDefinitions(std::set<std::string>& defines,
|
||||
cmTarget* target,
|
||||
cmTarget const* target,
|
||||
const char* config)
|
||||
{
|
||||
std::vector<std::string> targetDefines;
|
||||
|
|
|
@ -224,7 +224,8 @@ public:
|
|||
bool stripImplicitInclDirs = true);
|
||||
void AddCompileOptions(std::string& flags, cmTarget* target,
|
||||
const char* lang, const char* config);
|
||||
void AddCompileDefinitions(std::set<std::string>& defines, cmTarget* target,
|
||||
void AddCompileDefinitions(std::set<std::string>& defines,
|
||||
cmTarget const* target,
|
||||
const char* config);
|
||||
|
||||
/** Compute the language used to compile the given source file. */
|
||||
|
|
Loading…
Reference in New Issue