Now that I am able to invoke CMake at all, I am hitting a different wall: LuaJIT builds a Windows helper application as part of its build, but now that I have craftily set up to invoke Android CMake, it cannot build a Windows exe from the Ninja generator.
I search Google for this problem, and the second hit, and first relevant hit, is… a Twitter thread I made in 2020, me, the last time I hit this exact problem. Reading the thread, at that time I did not find a solution.
https://twitter.com/mcclure111/status/1220822530904084480?lang=en