summaryrefslogtreecommitdiffstats
path: root/Help/command/enable_language.rst
Commit message (Collapse)AuthorAgeFilesLines
* enable_language(): Fail if called before project()Craig Scott2024-04-021-6/+10
| | | | Fixes: #25550
* Help: Restore project command docs for default languages and NONEBrad King2023-06-221-4/+0
| | | | | | | | In commit b787be2714 (Help: Update supported languages in project and enable_language, 2023-01-20, v3.26.0-rc1~53^2) the relevant paragraph was accidentally moved to the `enable_language` command documentation. Fixes: #25016
* Help: Update supported languages in project and enable_languageRobert Maynard2023-01-201-16/+5
|
* Help: Document enable_language accepting multiple languagesfriendlyanon2022-06-301-4/+5
|
* HIP: Add language to CMakeRobert Maynard2021-06-071-1/+4
|
* Help: Add `.. versionadded` directives to commands documentationNikita Nemkin2020-11-091-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change ony concerns directives that appear in the document body. The guidelines for inserting version directives: * Baseline version is CMake 3.0, i.e. directives start at 3.1. * Always use `.. versionadded::` directive, avoid ad-hoc version references. Exception: policy pages. * For new command signatures, put `versionadded` on a separate line after the signature. * For a group of new signatures in a new document section, a single version note at the beginning of the section is sufficient. * For new options, put `versionadded` on a separate line before option description. * If all the option descriptions in the list are short one-liners, it's fine to put `versionadded` on the same line as the description. * If multiple option descriptions in close proximity would have the same ..versionadded directive, consider adding a single directive after the list, mentioning all added options. * For compact value lists and sub-option lists, put a single `versionadded` directive after the list mentioning all additions. * When a change is described in a single paragraph, put `versionadded` into that paragraph. * When only part of the paragraph has changed, separate the changed part if it doesn't break the flow. Otherwise, write a follow-up clarification paragraph and apply version directive to that. * When multiple version directives are close by, order earlier additions before later additions. * Indent related lists and code blocks to include them in the scope of `versionadded` directive. Issue: #19715
* ISPC: Update help documentation to include ISPCRobert Maynard2020-08-281-1/+2
|
* Languages: Add support for Objective-C++Steve Wilson2019-09-281-3/+2
| | | | | | | | | | | | | | | | | Add entries in Modules and Modules/Platform to support Objective-C++ compiler determination and identification. Add Modules to check Objective-C++ compiler flags, source compilations, program checks, etc... Use OBJCXX as the designator of the language, eg: project(foo OBJCXX) Add various tests for Objective-C++ language features. Add tests to preserve C++ handling of .M and .mm files when Objective-C++ is not a configured language. Co-authored-by: Cristian Adam <cristian.adam@gmail.com>
* Languages: Add support for Objective-CSteve Wilson2019-09-281-2/+2
| | | | | | | | | | | | | | | | | Add entries in Modules and Modules/Platform to support Objective-C compiler determination and identification. Add Modules to check Objective-C compiler flags, source compilations, program checks, etc... Use OBJC as the designator of the language, eg: project(foo OBJC) Add various tests for Objective-C language features. Add tests to preserve C++ handling of .m and .mm files when OBJC is not a configured language. Co-Authored-By: Cristian Adam <cristian.adam@gmail.com>
* Help: Apply syntax highlighting to project commandsJoachim Wuttke (o)2018-10-251-3/+3
| | | | | | * Replace most "::" by ".. code-block:: cmake" * Header sentence in imperative voice, detailed command description in present tense.
* Help: Document that ASM should be enabled lastBrad King2017-12-061-1/+4
| | | | | | | ASM should be enabled after C and/or CXX because we consider the compilers for those languages as possible assemblers. Issue: #17532
* Help: enable_language now documents the CheckLanguage moduleRobert Maynard2017-10-311-1/+2
| | | | Resolves #17409
* Help: Improve formatting of command documentationMichael Scott2015-06-081-1/+1
| | | | | Use inline reStructuredText markup and add cross-references in more places.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-0/+22
Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.