This is just a dumb implementation of CMake interpreter. Probably incorrect, but works fine enough for my purposes. The purpose of it is to parse CMake scripts used to configure CPack to extract from them info about how packaging should be done.
Python >=3.4
.Python 2
is dead, stop raping its corpse. Use2to3
with manual postprocessing to migrate incompatible code to3
. It shouldn't take so much time. For unit-testing you need Python 3.6+ or PyPy3 because theirdict
is ordered and deterministic. Python 3 is also semi-dead, 3.7 is the last minor release in 3.cmake-ast