open-source-ideas / ideas

💡 Looking for inspiration for your next open source project? Or perhaps you've got a brilliant idea you can't wait to share with others? Open Source Ideas is a community built specifically for this! 👋
6.56k stars 221 forks source link

./configure to CMake scripts transpiler #41

Open KOLANICH opened 6 years ago

KOLANICH commented 6 years ago

Project description

Some projects still use obsolete ./configure scripts. It is very bad because it breaks crossplatformity. In such scripts often the usual set of shell commands is used extensively.

CMake is a cross-platform cross-toolchain build system.

It should be possible to implement a tool parsing a bash script into an AST, parsing commands syntax, then building a CMake script AST replacing commands with CMake functions.

Relevant Technology

Who is this for

Any python developer.

marcelosousa commented 6 years ago

I would be interested in working on this (not specifically using Python).