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/cmLocalUnixMakefileGenerator3.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/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 28890f0..e2d5322 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -830,8 +830,8 @@ std::string cmLocalUnixMakefileGenerator3::GetRelativeTargetDirectory( return dir; } -void cmLocalUnixMakefileGenerator3::AppendFlags(std::string& flags, - const std::string& newFlags) +void cmLocalUnixMakefileGenerator3::AppendFlags( + std::string& flags, const std::string& newFlags) const { if (this->IsWatcomWMake() && !newFlags.empty()) { std::string newf = newFlags; @@ -845,7 +845,7 @@ void cmLocalUnixMakefileGenerator3::AppendFlags(std::string& flags, } void cmLocalUnixMakefileGenerator3::AppendFlags(std::string& flags, - const char* newFlags) + const char* newFlags) const { this->cmLocalGenerator::AppendFlags(flags, newFlags); } |