summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-12-07 20:24:28 (GMT)
committerAlex Neundorf <neundorf@kde.org>2012-12-07 20:24:28 (GMT)
commitacc224005e99076da3561ada8c06985487b0ce11 (patch)
treea547a64187f0fe3585ad6b60c6a44ae50b29b947 /Source/cmLocalGenerator.h
parent2be87f8ff832fc29daa3d4eca85de88130daa400 (diff)
downloadCMake-acc224005e99076da3561ada8c06985487b0ce11.zip
CMake-acc224005e99076da3561ada8c06985487b0ce11.tar.gz
CMake-acc224005e99076da3561ada8c06985487b0ce11.tar.bz2
Automoc: get include dirs without stripping implicit include dirs off
This should finally fix #13667 and #13762. Instead of adding special handling to guess whether implicit include dirs may have been removed, simply make it possible to query the include dirs without removing the implicit ones. Alex
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index bd58218..63559d7 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -212,7 +212,8 @@ public:
/** Get the include flags for the current makefile and language. */
void GetIncludeDirectories(std::vector<std::string>& dirs,
cmGeneratorTarget* target,
- const char* lang = "C", const char *config = 0);
+ const char* lang = "C", const char *config = 0,
+ bool stripImplicitInclDirs = true);
/** Compute the language used to compile the given source file. */
const char* GetSourceFileLanguage(const cmSourceFile& source);