diff options
author | Marc Chevrier <marc.chevrier@sap.com> | 2017-12-15 10:00:52 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@sap.com> | 2018-01-23 09:24:47 (GMT) |
commit | 3f935e690a337a7a692c30d4d14082e08d1bed7c (patch) | |
tree | 737bdc0cc2a6eb04366e84ebfd2d48f7fdde68d9 /Source/cmLocalXCodeGenerator.cxx | |
parent | 2c6f5baaa7e101cdd3e5769a3fd8d49d0501b8e6 (diff) | |
download | CMake-3f935e690a337a7a692c30d4d14082e08d1bed7c.zip CMake-3f935e690a337a7a692c30d4d14082e08d1bed7c.tar.gz CMake-3f935e690a337a7a692c30d4d14082e08d1bed7c.tar.bz2 |
LocalGenerator: refactoring
Introduce method AppendCompileOptions to support
future source file property COMPILE_OPTIONS.
Diffstat (limited to 'Source/cmLocalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmLocalXCodeGenerator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalXCodeGenerator.cxx b/Source/cmLocalXCodeGenerator.cxx index 457d1fd..92c958d 100644 --- a/Source/cmLocalXCodeGenerator.cxx +++ b/Source/cmLocalXCodeGenerator.cxx @@ -31,10 +31,10 @@ std::string cmLocalXCodeGenerator::GetTargetDirectory( } void cmLocalXCodeGenerator::AppendFlagEscape(std::string& flags, - const std::string& rawFlag) + const std::string& rawFlag) const { - cmGlobalXCodeGenerator* gg = - static_cast<cmGlobalXCodeGenerator*>(this->GlobalGenerator); + const cmGlobalXCodeGenerator* gg = + static_cast<const cmGlobalXCodeGenerator*>(this->GlobalGenerator); gg->AppendFlag(flags, rawFlag); } |