-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
36 lines (27 loc) · 1001 Bytes
/
premake5.lua
File metadata and controls
36 lines (27 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
project "luajit"
kind ("Makefile")
configuration {"vs*", "x64"}
buildcommands { "setenv /release /x64" }
rebuildcommands { "setenv /release /x64" }
configuration {"vs*"}
buildcommands {
"cd " ..DIR_THIRDPARTY.."luajit/src/",
"msvcbuild.bat",
"copy lua51.dll \"../../../../Lib/ThirdParty\\luajit_v2.0.3_windows-"..targetPlatform.."-"..toolset.."-"..configurationS..".dll\"",
"copy lua51.lib \"../../../../Lib/ThirdParty\\luajit_v2.0.3_windows-"..targetPlatform.."-"..toolset.."-"..configurationS..".lib\"",
"copy lua51.exp \"../../../../Lib/ThirdParty\\luajit_v2.0.3_windows-"..targetPlatform.."-"..toolset.."-"..configurationS..".exp\""
}
rebuildcommands {
"cd " ..DIR_THIRDPARTY.."luajit/src/",
"msvcbuild.bat"
}
cleancommands {
"cd " ..DIR_THIRDPARTY.."luajit/src/",
"del *.dll",
"del *.exe",
"del *.lib"
}
configuration {}
targetdir( "src/" )
location( LDIR_THIRDPARTY_BUILD )
buildoutputs { "lua51.lib", "lua51.dll" }