Repository navigation
Expand file tree
/
Copy pathpremake5.lua
More file actions
71 lines (58 loc) · 1.66 KB
/
Copy pathpremake5.lua
File metadata and controls
71 lines (58 loc) · 1.66 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
workspace "gproxy"
configurations {
"Debug", "Release"
}
location "gproxy"
project "gproxy"
kind "SharedLib"
language "C++"
cppdialect "C++17"
characterset "MBCS"
callingconvention "FastCall"
architecture "x86"
libdirs "lib"
links { "luajit_stuff" }
includedirs { "headers", "gluajit/src" }
files { "headers/*.h", "src/*.c", "src/*.cpp", "headers/*.hpp", "gluajit/src/*.h" }
removefiles { "src/luajit_stuff_cpp.cpp", "src/luajit_stuff.cpp" }
vpaths {
["headers/*"] = "headers/*",
["src/*"] = "src/*",
["luajit/*"] = "gluajit/src/*.h"
}
defines "LUAJIT_DISABLE_FFI"
configuration "Debug"
defines "DEBUG"
symbols "On"
optimize "Debug"
targetdir "debug"
configuration "Release"
defines "NDEBUG"
optimize "Full"
targetdir "release"
project "luajit_stuff"
kind "StaticLib"
language "C++"
cppdialect "C++17"
characterset "MBCS"
callingconvention "Cdecl"
architecture "x86"
libdirs "lib"
links { "lua_shared" }
includedirs { "headers", "gluajit/src" }
files { "headers/*.h", "src/luajit_stuff.cpp", "src/luajit_stuff_cpp.cpp", "headers/*.hpp", "gluajit/src/*.h" }
defines { "LUAJIT_DISABLE_FFI", "LUA_BUILD_AS_DLL" }
vpaths {
["headers/*"] = "headers/*",
["src/*"] = "src/luajit_stuff.cpp",
["luajit/*"] = "gluajit/src/*.h"
}
configuration "Debug"
defines "DEBUG"
symbols "On"
optimize "Debug"
targetdir "debug"
configuration "Release"
defines "NDEBUG"
optimize "Full"
targetdir "release"