14.12.2018, 16:04, "Kevin Kofler" <kevin.kof...@chello.at>: > Also, do not understimate what CMake can do, especially with functions, > which make it theoretically Turing-complete. (That said, you might actually > want to restrict or ban the use of recursive (or all) functions in your > CMakeLists.txt coding style if you want to ensure that your script will > terminate, and do so in a reasonable time. You can have only EITHER > decidability OR Turing-completeness, not both.)
Also, don't overestimate what is reasonable to do with this Turing tar pit, as cmake language is primitive and untyped. Non-trivial scripts quickly get hard to understand and maintain, and there is little tooling to debug or refactor them later. Any general purpose scripting language wins hands down here when it doesn't have to manipulate with build targets directly. -- Regards, Konstantin _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development