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
-
-
hey so i'm looking at this… no need to help if you're busy but D: so i'm looking at your cmake file and it's not clear what of this is LLVM specific logic and what's for driving the recursive call… but… it looks like
-
I'm trying to create two programs, minilua and buildvm, so i can invoke them… so i think i can just add_custom_command(OUTPUT minilua buildvm COMMAND ${CMAKE_COMMAND} … ) the two things i'm unsure about…
-
one, the later i want to say add_custom_command COMMAND minilua… will luajit know how to wire "minilua" where it is built by the inner cmake to "minilua" where it is being invoked? or do i have to add additional paths, or a add_executable IMPORTED?
-
two, when i cmake at the command line, i generally first run cmake and then i --build… it doesn't look like you're doing this two-step thing? and wouldn't you need separate build directories for inner vs outer cmake? Or is that what the OUTPUT CMakeCache.txt step is about?
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.