diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-09-10 02:52:53 (GMT) |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-10-02 17:30:43 (GMT) |
commit | 557956f3489dbc75c7b6d26ed531c7c577aac146 (patch) | |
tree | 80fa2c836025db6388a555e80ed2cb19bf374b9e /Source/cmGlobalGenerator.h | |
parent | 5b114c9bee735eebf3e6b4d6ef18e4c732ac55f0 (diff) | |
download | CMake-557956f3489dbc75c7b6d26ed531c7c577aac146.zip CMake-557956f3489dbc75c7b6d26ed531c7c577aac146.tar.gz CMake-557956f3489dbc75c7b6d26ed531c7c577aac146.tar.bz2 |
Introduce a cmGlobalGenerator::ResolveLanguageCompiler function
It is factored out of cmGlobalUnixMakefileGenerator3::EnableLanguage,
and may be used by other generators to resolve CMAKE_*_COMPILER
settings.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index adf7b77..96a326c 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -77,6 +77,13 @@ public: cmMakefile *, bool optional); /** + * Resolve the CMAKE_<lang>_COMPILER setting for the given language. + * Intended to be called from EnableLanguage. + */ + void ResolveLanguageCompiler(const std::string &lang, cmMakefile *mf, + bool optional); + + /** * Try to determine system infomation, get it from another generator */ virtual void EnableLanguagesFromGenerator(cmGlobalGenerator *gen, |