-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
43 lines (33 loc) · 1.02 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
include "./vendor/premake/premake_customization/solution_items.lua"
workspace "Tron"
architecture "x86_64"
startproject "Tron-Editor"
configurations {
"Debug",
"Release",
"Dist"
}
solution_items {
".editorconfig"
}
flags {
"MultiProcessorCompile"
}
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
-- Include directories relative to root folder (solution directory)
IncludeDir = {}
IncludeDir["GLFW"] = "%{wks.location}/Tron/vendor/GLFW/include"
IncludeDir["Glad"] = "%{wks.location}/Tron/vendor/Glad/include"
IncludeDir["ImGui"] = "%{wks.location}/Tron/vendor/imgui"
IncludeDir["glm"] = "%{wks.location}/Tron/vendor/glm"
IncludeDir["stb_image"] = "%{wks.location}/Tron/vendor/stb_image"
IncludeDir["entt"] = "%{wks.location}/Tron/vendor/entt/include"
group "Dependencies"
include "vendor/premake"
include "Tron/vendor/GLFW"
include "Tron/vendor/Glad"
include "Tron/vendor/imgui"
group ""
include "Tron"
include "Sandbox"
include "Tron-Editor"