💡 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! 👋
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.
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.