mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-15 03:30:39 -06:00
Help: More syntax highlighting for literal blocks
Covers almost all blocks containing actual code, except: * Parsed-literal blocks can't be highlighted, including many command summaries and substitution-heavy docs like find_... commands. This is a Sphinx limitation. * Code with errors, like CMP0049, DEPLOYMENT_ADDITIONAL_FILES, DEPLOYMENT_REMOTE_DIRECTORY, @PACKAGE_INIT@ substitution in the tutorial, bracket arguments/comments in cmake-language.7 and cmake-developer.7. * FindQt4 module, which needs reformatting.
This commit is contained in:
@@ -10,7 +10,7 @@ WriteBasicConfigVersionFile
|
||||
Use the identical command :command:`write_basic_package_version_file()`
|
||||
from module :module:`CMakePackageConfigHelpers`.
|
||||
|
||||
::
|
||||
.. code-block:: cmake
|
||||
|
||||
WRITE_BASIC_CONFIG_VERSION_FILE( filename
|
||||
[VERSION major.minor.patch]
|
||||
|
||||
Reference in New Issue
Block a user