-
-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathpremake5.lua
More file actions
45 lines (34 loc) · 1.1 KB
/
premake5.lua
File metadata and controls
45 lines (34 loc) · 1.1 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
solution "leysourceengineclient"
language "C++"
location "project"
targetdir "build/release"
flags { "NoMinimalRebuild", "NoBufferSecurityCheck"}
symbols "On"
optimize "On"
omitframepointer "On"
vectorextensions "SSE2"
floatingpoint "Fast"
if os.istarget("linux") or os.istarget("macosx") then
buildoptions {"-m32 -fPIC -ldl -lstdc++"}
linkoptions {"-m32 -fPIC -ldl -lstdc++"}
end
vpaths {
["Header Files/*"] = "src/**.h",
["Source Files/*"] = "src/**.cpp",
}
kind "ConsoleApp"
configurations { "Debug", "Release" }
files { "src/**.h", "src/**.cpp" }
libdirs {"libs/"}
links { "Shlwapi", "ws2_32", "winmm" }
-- A project defines one build target
project "leysourceengineclient"
targetname "leysourceengineclient"
configuration "Release"
defines { "_CRT_SECURE_NO_WARNINGS", "NDEBUG", "_GENERIC" }
symbols "Off"
targetdir "build/release"
configuration "Debug"
defines { "_CRT_SECURE_NO_WARNINGS", "DEBUG", "_GENERIC" }
optimize "Off"
targetdir "build/debug"