mirror of
https://github.com/reactos/CMake.git
synced 2024-11-27 21:41:03 +00:00
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,8 +224,9 @@ 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,
|
||||
const char* config);
|
||||
void AddCompileDefinitions(std::set<std::string>& defines,
|
||||
cmTarget const* target,
|
||||
const char* config);
|
||||
|
||||
/** Compute the language used to compile the given source file. */
|
||||
const char* GetSourceFileLanguage(const cmSourceFile& source);
|
||||
|
Loading…
Reference in New Issue
Block a user