summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-20 18:02:52 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-04-20 18:02:52 (GMT)
commit5e0e65c18926b0a9c5b66ff4ec93d45cc008d383 (patch)
tree2d9276431fe32440bb6e83a2f2406731f3a0e2de /Source/cmLocalGenerator.cxx
parent8056dda8a2406b63c94d4aca3f79187747c0a120 (diff)
parent66b641f443a1d3fc8b5f74233307ba9b0929d340 (diff)
downloadCMake-5e0e65c18926b0a9c5b66ff4ec93d45cc008d383.zip
CMake-5e0e65c18926b0a9c5b66ff4ec93d45cc008d383.tar.gz
CMake-5e0e65c18926b0a9c5b66ff4ec93d45cc008d383.tar.bz2
Merge topic 'add-GreenHills-MULTI-generator'
66b641f4 Help: Add notes for topic 'add-GreenHills-MULTI-generator' 48004d9d Add a 'Green Hills MULTI' generator on Windows 051d8be1 cmLocalGenerator: Constify some cmTarget and cmGeneratorTarget arguments
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index c143bce..6bce088 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2003,7 +2003,7 @@ void cmLocalGenerator::OutputLinkLibraries(std::string& linkLibraries,
//----------------------------------------------------------------------------
void cmLocalGenerator::AddArchitectureFlags(std::string& flags,
- cmGeneratorTarget* target,
+ cmGeneratorTarget const* target,
const std::string& lang,
const std::string& config)
{
@@ -2190,7 +2190,7 @@ void cmLocalGenerator::AddSharedFlags(std::string& flags,
//----------------------------------------------------------------------------
void cmLocalGenerator::
-AddCompilerRequirementFlag(std::string &flags, cmTarget* target,
+AddCompilerRequirementFlag(std::string &flags, cmTarget const* target,
const std::string& lang)
{
if (lang.empty())
@@ -2312,7 +2312,8 @@ AddCompilerRequirementFlag(std::string &flags, cmTarget* target,
}
}
-static void AddVisibilityCompileOption(std::string &flags, cmTarget* target,
+static void AddVisibilityCompileOption(std::string &flags,
+ cmTarget const* target,
cmLocalGenerator *lg,
const std::string& lang)
{
@@ -2346,7 +2347,7 @@ static void AddVisibilityCompileOption(std::string &flags, cmTarget* target,
}
static void AddInlineVisibilityCompileOption(std::string &flags,
- cmTarget* target,
+ cmTarget const* target,
cmLocalGenerator *lg)
{
std::string compileOption
@@ -2367,7 +2368,7 @@ static void AddInlineVisibilityCompileOption(std::string &flags,
//----------------------------------------------------------------------------
void cmLocalGenerator
-::AddVisibilityPresetFlags(std::string &flags, cmTarget* target,
+::AddVisibilityPresetFlags(std::string &flags, cmTarget const* target,
const std::string& lang)
{
int targetType = target->GetType();
@@ -2393,7 +2394,8 @@ void cmLocalGenerator
}
//----------------------------------------------------------------------------
-void cmLocalGenerator::AddCMP0018Flags(std::string &flags, cmTarget* target,
+void cmLocalGenerator::AddCMP0018Flags(std::string &flags,
+ cmTarget const* target,
std::string const& lang,
const std::string& config)
{