-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlibrary.lua
More file actions
35 lines (29 loc) · 803 Bytes
/
library.lua
File metadata and controls
35 lines (29 loc) · 803 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
-- Path to lua sources
lua = "3rd-party/lua-5.2.2"
-- Common configuration for x32/x64
configuration "x32"
defines { "LUADATA_32" }
configuration "x64"
defines { "LUADATA_64" }
-- libluadata library
project "luadata"
kind "StaticLib"
language "C++"
-- Project files
includedirs { "include" }
files { "include/**.h", "src/**.h", "src/**.cc" }
-- Lua dependency files
includedirs { lua .. "/src" }
files { lua .. "/src/*.h", lua .. "/src/*.hpp", lua .. "/src/*.c" }
excludes { lua .. "/src/lua.c" }
vpaths {
["lua"] = lua,
["src"] = "src",
["include"] = "include"
}
-- Disable some deprecation warnings on Visual Studio
configuration "vs*"
defines{ "_CRT_SECURE_NO_WARNINGS" }
-- Enabling the C++11 standard on Make
configuration "gmake"
buildoptions { "-std=c++0x" }