-
Notifications
You must be signed in to change notification settings - Fork 1
/
premake5.lua
50 lines (44 loc) · 858 Bytes
/
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
include("src/Atlas")
workspace "CppConveyor"
location "build"
platforms { --[["Console",]] "SDL" }
configurations { "Debug", "Release" }
cppdialect "C++latest"
flags { "MultiProcessorCompile" }
filter { "platforms:SDL" }
system "Windows"
architecture "x86_64"
buildoptions {
"/Zc:__cplusplus",
}
filter{}
filter { "platforms:Tools_Win64" }
configmap {
["SDL"] = "Tools_Win64",
}
filter { "configurations:Release" }
optimize "Full"
flags "NoRuntimeChecks"
inlining "Auto"
intrinsics "on"
filter{}
solutionitems {
["build"] = {
["module/*"] = {
"lua/**.lua",
},
["premake/*"] = {
"*.lua",
},
},
["data/*"] = {
"data/**",
}
}
setEngineRoot("src/Atlas")
includeEngine()
includeEngineTests()
includeEngineTools()
includeEngineThirdParty()
group("")
include("src/Game")