-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
69 lines (53 loc) · 1.12 KB
/
premake5.lua
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
-- http://industriousone.com/scripting-reference --
-- https://bitbucket.org/premake/premake-dev/wiki --
solution"feidi"
configurations { "debug", "release" }
flags {
--"FatalWarnings",
--"Unicode"
"Symbols",
}
warnings "Extra"
location("builds/" .. os.get() .. "-" .. _ACTION)
warnings "Extra"
floatingpoint "Fast"
vectorextensions "SSE2"
targetdir "bin"
project "feidi"
kind "ConsoleApp"
language "C++"
buildoptions { "-std=gnu++0x -fpermissive -Wno-unused-parameter" }
linkoptions { "-rdynamic" }
files { "src/**.cpp", "src/**.hpp", "src/**.c", "src/**.h" }
includedirs {
"src",
"../luajit-2.0/src/",
"../libuv/include/",
"../SteamPP/",
"../cryptopp",
"luastate/include",
}
libdirs {
"../luajit-2.0/src/",
"../libuv/out/Release/",
"../SteamPP/",
"../cryptopp",
}
links {
"luajit",
"uv",
"steam++",
"protobuf",
"archive",
"cryptopp",
"rt",
"m",
"dl",
}
configuration "debug"
defines { "DEBUG" }
flags { "Symbols" }
optimize "Off"
configuration "release"
defines { "NDEBUG" }
optimize "On"