-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpremake5.lua
More file actions
50 lines (42 loc) · 1.38 KB
/
premake5.lua
File metadata and controls
50 lines (42 loc) · 1.38 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
workspace "ReddyGame"
configurations
{
"Debug",
"Release"
}
flags
{
"MultiProcessorCompile"
}
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
architecture "x86_64"
filter "system:Windows"
defines { "WIN32", "_CRT_SECURE_NO_WARNINGS" }
systemversion "latest"
startproject "ReddyGame"
characterset ("MBCS")
group "Dependencies"
include "ReddyEngine/SDL2-Premake"
include "ReddyEngine/imgui"
include "ReddyEngine/stb-premake"
include "ReddyEngine/glm"
include "ReddyEngine/jsoncpp"
include "ReddyEngine/tinyxml2"
include "ReddyEngine/box2d"
include "ReddyEngine/lua"
group ""
include "ReddyEngine"
include "ReddyGame"
include "premake"
-- Dependencies
IncludeDir = {}
IncludeDir["SDL2"] = "%{wks.location}/ReddyEngine/SDL2-Premake/include"
IncludeDir["imgui"] = "%{wks.location}/ReddyEngine/imgui"
IncludeDir["stb"] = "%{wks.location}/ReddyEngine/stb-premake"
IncludeDir["glm"] = "%{wks.location}/ReddyEngine/glm"
IncludeDir["jsoncpp"] = "%{wks.location}/ReddyEngine/jsoncpp/include"
IncludeDir["lib_json"] = "%{wks.location}/ReddyEngine/jsoncpp/src/lib_json"
IncludeDir["tinyxml2"] = "%{wks.location}/ReddyEngine/tinyxml2"
IncludeDir["box2d"] = "%{wks.location}/ReddyEngine/box2d/include"
IncludeDir["box2d_source"] = "%{wks.location}/ReddyEngine/box2d/src"
IncludeDir["lua"] = "%{wks.location}/ReddyEngine/lua"