summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-05-16 12:59:04 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-06-02 09:56:36 (GMT)
commit35496761a58956bd8c5ad65a3ed9ee78d09af56b (patch)
treef02c889f4da5c1da5d9a6eef5d9ea73fbc0f1a16 /Source/cmLocalGenerator.h
parentf3ad863ae6f0487bbf80d95b0d3f622840187a6a (diff)
downloadCMake-35496761a58956bd8c5ad65a3ed9ee78d09af56b.zip
CMake-35496761a58956bd8c5ad65a3ed9ee78d09af56b.tar.gz
CMake-35496761a58956bd8c5ad65a3ed9ee78d09af56b.tar.bz2
Add cmLocalGenerator::GetCompileOptions.
Currently it only adds the contents of the COMPILE_FLAGS target property, but it can be extended to handle a new COMPILE_OPTIONS generator expression enabled property.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index a1c34f0..28c88e6 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -215,6 +215,9 @@ public:
cmGeneratorTarget* target,
const char* lang = "C", const char *config = 0,
bool stripImplicitInclDirs = true);
+ void GetCompileOptions(std::string& flags,
+ cmTarget* target,
+ const char *config);
/** Compute the language used to compile the given source file. */
const char* GetSourceFileLanguage(const cmSourceFile& source);