LocalGenerator: refactoring

Introduce method AppendCompileOptions to support
future source file property COMPILE_OPTIONS.
This commit is contained in:
Marc Chevrier
2017-12-15 11:00:52 +01:00
parent 2c6f5baaa7
commit 3f935e690a
8 changed files with 76 additions and 29 deletions

View File

@@ -88,8 +88,9 @@ public:
const std::string& tgt);
// append flags to a string
void AppendFlags(std::string& flags, const std::string& newFlags) override;
void AppendFlags(std::string& flags, const char* newFlags) override;
void AppendFlags(std::string& flags,
const std::string& newFlags) const override;
void AppendFlags(std::string& flags, const char* newFlags) const override;
// append an echo command
enum EchoColor