diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-09-27 19:19:04 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-09-28 13:51:19 +0200 |
commit | fc80518a07527675e49e037a0e176b80a5f4b302 (patch) | |
tree | e91629315f899d39b680d544e036b1268c328cd2 /mesonbuild/cmake | |
parent | a1b2f15092b18d625a5fc2a76bd416232c8aeee8 (diff) | |
download | meson-fc80518a07527675e49e037a0e176b80a5f4b302.zip meson-fc80518a07527675e49e037a0e176b80a5f4b302.tar.gz meson-fc80518a07527675e49e037a0e176b80a5f4b302.tar.bz2 |
typing: fully annotate cmake.generator
Diffstat (limited to 'mesonbuild/cmake')
-rw-r--r-- | mesonbuild/cmake/generator.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/cmake/generator.py b/mesonbuild/cmake/generator.py index a30d2de..02d56cc 100644 --- a/mesonbuild/cmake/generator.py +++ b/mesonbuild/cmake/generator.py @@ -13,6 +13,7 @@ # limitations under the License. from .. import mesonlib +import typing as T def parse_generator_expressions(raw: str) -> str: '''Parse CMake generator expressions @@ -73,7 +74,7 @@ def parse_generator_expressions(raw: str) -> str: 'ANGLE-R': lambda x: '>', 'COMMA': lambda x: ',', 'SEMICOLON': lambda x: ';', - } + } # type: T.Dict[str, T.Callable[[str], str]] # Recursively evaluate generator expressions def eval_generator_expressions() -> str: |