Add pseudo target 'cl' for Windows using cl.exe
Use it only for LuaJIT for now.
This commit is contained in:
parent
20a64af4bc
commit
f799ad3b14
@ -529,6 +529,11 @@ class LuaJIT(Lua):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def make():
|
def make():
|
||||||
|
if os.name == "nt" and opts.target == "cl":
|
||||||
|
os.chdir("src")
|
||||||
|
run_command("msvcbuild.bat")
|
||||||
|
os.chdir("..")
|
||||||
|
else:
|
||||||
run_command("make", "PREFIX=" + quote(opts.location))
|
run_command("make", "PREFIX=" + quote(opts.location))
|
||||||
|
|
||||||
def make_install(self):
|
def make_install(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user