Files
CMake/Modules
Matthew Woehlke b88b7e7c18 Help: Fix lexing of multi-line strings
Teach our CMake lexer to recognize `[[...]]` multi-line strings, as used
in some 'check source compiles/runs' examples to pass literal C/C++ code
through a CMake function. Previously, this resulted in the lexer trying
to parse such code as CMake, which is obviously incorrect. Also, use the
new `[[` syntax in more places.

Note that, because `[[...]]` can also show up in some instances denoting
optional arguments, we only consider `[[` with no `=` as a string if the
`[[` is followed by a non-identifier character. This heuristic seems to
work for most existing usages.

Co-Authored-By: Georg Brandl <georg@python.org>
2026-02-13 13:36:59 -05:00
..
2025-09-14 21:08:16 +02:00
2025-08-26 14:29:01 -07:00
2025-05-26 02:55:17 +02:00
2025-09-23 21:40:58 +02:00
2025-12-11 09:42:58 -05:00
2025-08-04 21:26:12 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-08-04 21:26:12 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-08-04 21:26:12 +02:00
2025-08-04 21:26:12 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-12-11 09:42:58 -05:00
2026-01-12 16:02:29 -05:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-08-04 21:26:12 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00
2025-09-23 21:40:58 +02:00

See the "Find Modules" section of the cmake-developer(7) manual page.

For more information about how to contribute modules to CMake, see this page:
https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/dev/Module-Maintainers