summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-05 15:37:50 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-26 17:46:32 (GMT)
commit69329fff70300debf10b62ac08a6bcee9ae7bc3c (patch)
tree782390e19f3c69c3ed07fdfeacbcbeaaa683007f /Source/cmGeneratorTarget.h
parent0431f2c4d7cbfcd873bc34caee9ed09253e8c8ad (diff)
downloadCMake-69329fff70300debf10b62ac08a6bcee9ae7bc3c.zip
CMake-69329fff70300debf10b62ac08a6bcee9ae7bc3c.tar.gz
CMake-69329fff70300debf10b62ac08a6bcee9ae7bc3c.tar.bz2
cmGeneratorTarget: Move GetLanguages from cmTarget.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index f5dc20d..5f96f2a 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -205,6 +205,14 @@ public:
cmOptionalLinkImplementation& impl
) const;
+ // Compute the set of languages compiled by the target. This is
+ // computed every time it is called because the languages can change
+ // when source file properties are changed and we do not have enough
+ // information to forward these property changes to the targets
+ // until we have per-target object file properties.
+ void GetLanguages(std::set<std::string>& languages,
+ std::string const& config) const;
+
bool HaveBuildTreeRPATH(const std::string& config) const;
/** Full path with trailing slash to the top-level directory