[Development] CMake && QtCreator cross-compilation for ARM fails

Konstantin Tokarev annulen at yandex.ru
Fri Dec 14 17:58:52 CET 2018



14.12.2018, 16:04, "Kevin Kofler" <kevin.kofler at 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




More information about the Development mailing list