Maybe using this: https://pythonhosted.org/waftools/_modules/waftools/cmake.html
Maybe using this:
https://pythonhosted.org/waftools/_modules/waftools/cmake.html