diff options
author | Brad King <brad.king@kitware.com> | 2019-10-02 17:57:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-17 18:03:54 (GMT) |
commit | 324988a6b101f29d148badc32b44964aedae1163 (patch) | |
tree | acb191ac778ebcd88bb8351d0f38f033ef188404 /Source/cmGeneratorTarget.h | |
parent | fd2c9fac101ec6d341db5b30e9d1eba64fa23116 (diff) | |
download | CMake-324988a6b101f29d148badc32b44964aedae1163.zip CMake-324988a6b101f29d148badc32b44964aedae1163.tar.gz CMake-324988a6b101f29d148badc32b44964aedae1163.tar.bz2 |
cmGeneratorTarget: Add GetAllConfigCompileLanguages method
Return all languages needed to compile sources in the target in
any configuration.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r-- | Source/cmGeneratorTarget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index c2811b2..4623513 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -132,6 +132,10 @@ public: per-source configurations assigned. */ std::vector<AllConfigSource> const& GetAllConfigSources() const; + /** Get all languages used to compile sources in any configuration. + This excludes the languages of objects from object libraries. */ + std::set<std::string> GetAllConfigCompileLanguages() const; + void GetObjectSources(std::vector<cmSourceFile const*>&, const std::string& config) const; const std::string& GetObjectName(cmSourceFile const* file); |