diff options
author | Brad King <brad.king@kitware.com> | 2013-06-28 13:04:01 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-06-28 13:04:01 (GMT) |
commit | daaf6283f5c0e8b7ea7ee93f983ad56d4498788d (patch) | |
tree | 3ad2b5c4c089f7c66a7af374f6c106e53304b4cf /Source/cmLocalGenerator.h | |
parent | 2ed149caefb6b9c60f8e93058d5431727c650116 (diff) | |
parent | d221eac81261679d3580849218220290fcd122df (diff) | |
download | CMake-daaf6283f5c0e8b7ea7ee93f983ad56d4498788d.zip CMake-daaf6283f5c0e8b7ea7ee93f983ad56d4498788d.tar.gz CMake-daaf6283f5c0e8b7ea7ee93f983ad56d4498788d.tar.bz2 |
Merge topic 'refactor-compile-options'
d221eac Refactor target COMPILE_OPTIONS and COMPILE_FLAGS handling
b6385ca Escape target flags taken from COMPILE_OPTIONS
0c9cc9a Embarcadero: Use response files only for includes, objects, and libs
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 9a71b9b..f35ef8e 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -149,6 +149,7 @@ public: const char* config); ///! Append flags to a string. virtual void AppendFlags(std::string& flags, const char* newFlags); + virtual void AppendFlagEscape(std::string& flags, const char* rawFlag); ///! Get the include flags for the current makefile and language std::string GetIncludeFlags(const std::vector<std::string> &includes, const char* lang, bool forResponseFile = false, @@ -217,9 +218,8 @@ public: cmGeneratorTarget* target, const char* lang = "C", const char *config = 0, bool stripImplicitInclDirs = true); - void GetCompileOptions(std::string& flags, - cmTarget* target, - const char *config); + void AddCompileOptions(std::string& flags, cmTarget* target, + const char* lang, const char* config); /** Compute the language used to compile the given source file. */ const char* GetSourceFileLanguage(const cmSourceFile& source); |