Okay so I have a setup where we build LuaJIT using CMake The CMake script is third-party. At the moment I'm using the one that ships with luvit I want to build for Android That's a cross compile But! LuaJIT builds two separate small programs and uses them as add_custom_command's
-
-
i.e. you *avoid* passing the inner cmake a "toolchain" file
-
Okay. Interesting… what's slightly complicated about this is that cmake is being internally invoked by Gradle, since it's got all the horrible secret knowledge about how to make an android app. I bet I can assume system cmake is in PATH, though?
-
Ie, whatever mechanism is setting up the tool chain is hidden from me
-
gradle is passing the -T../some-toolchain.cmake argument to cmake to make it cross-compile. cmake doesn't respect environment variables so it has to be pretty explicit and unmagical
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.