|
@@ -364,6 +364,12 @@ public:
|
|
|
void GetLanguages(std::set<std::string>& languages,
|
|
void GetLanguages(std::set<std::string>& languages,
|
|
|
std::string const& config) const;
|
|
std::string const& config) const;
|
|
|
|
|
|
|
|
|
|
+ // Evaluate if the target uses the given language for compilation
|
|
|
|
|
+ // and/or linking. If 'exclusive' is true, 'language' is expected
|
|
|
|
|
+ // to be the only language used for the target.
|
|
|
|
|
+ bool HasLanguage(std::string const& language, std::string const& config,
|
|
|
|
|
+ bool exclusive = true) const;
|
|
|
|
|
+
|
|
|
void GetObjectLibrariesCMP0026(
|
|
void GetObjectLibrariesCMP0026(
|
|
|
std::vector<cmGeneratorTarget*>& objlibs) const;
|
|
std::vector<cmGeneratorTarget*>& objlibs) const;
|
|
|
|
|
|