summaryrefslogtreecommitdiffstats
path: root/Source/cmCommonTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-28 18:05:34 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-28 19:40:06 (GMT)
commit6d79eda769a5693ed4657f50c97ef5a0c9ba2e1b (patch)
treec91d0978ecf2d24621fb53d1a7911f63a0058ded /Source/cmCommonTargetGenerator.h
parent98d6e9ec2dd0a935b1ebfed50b6e9ecab719557d (diff)
downloadCMake-6d79eda769a5693ed4657f50c97ef5a0c9ba2e1b.zip
CMake-6d79eda769a5693ed4657f50c97ef5a0c9ba2e1b.tar.gz
CMake-6d79eda769a5693ed4657f50c97ef5a0c9ba2e1b.tar.bz2
cmCommonTargetGenerator: Adopt linked target directory computation
Factor a GetLinkedTargetDirectories method out of cmMakefileTargetGenerator::WriteTargetDependRules to compute the list of directories associated with targets to which the current target links.
Diffstat (limited to 'Source/cmCommonTargetGenerator.h')
-rw-r--r--Source/cmCommonTargetGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCommonTargetGenerator.h b/Source/cmCommonTargetGenerator.h
index 5451a5a..166508d 100644
--- a/Source/cmCommonTargetGenerator.h
+++ b/Source/cmCommonTargetGenerator.h
@@ -85,6 +85,8 @@ protected:
ByLanguageMap DefinesByLanguage;
std::string GetIncludes(std::string const& l);
ByLanguageMap IncludesByLanguage;
+
+ std::vector<std::string> GetLinkedTargetDirectories() const;
};
#endif