Pure Python library to parse CMake scripts
Low maintenance activity. Last release over 3 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install cmake-parser.. CMake Parser
Copyright 2023 Timo Röhling <timo@gaussglocke.de>
SPDX-License-Identifier: Apache-2.0
============
cmake_parser
============
**cmake_parser** is a pure Python parser for CMake code. It is still work in progress,
but is reasonably usable. It provides the following features:
* AST representation of CMake code
* Correct handling of quoted and bracketed values
* Variable expansion
* Basic boolean expression evaluation
Notably missing but planned are:
* Some operators for boolean expressions
* Generator expression support
* Script engine for convenient CMake execution within Python