cmakepp_lang/detection/languages
- cmakepp_lang/detection/languages.cpp_enabled_languages(return_variable)
Wraps the process of retrieving a list of enabled languages.
CMake sets a global property ENABLED_LANGUAGES to be a list of coding languages which have been enabled either via project() or the enable_language() commands. CMake’s documentation is a bit dodgy in discussing what variables the aforementioned commands set, so we wrote this function as a wrapper around the logic in the event that CMake changes how they do things. At the very least, this function should be more user- friendly.
- Param:
return_variable A variable to hold the resulting list.
- Type:
list*