-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake5.lua
45 lines (36 loc) · 1021 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
include "./vendor/premake/premake_customization/solution_items.lua"
workspace "Aurora"
architecture "x86_64"
startproject "AuroraPolaris"
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}/Aurora/vendor/GLFW/include"
IncludeDir["Glad"] = "%{wks.location}/Aurora/vendor/Glad/include"
IncludeDir["ImGui"] = "%{wks.location}/Aurora/vendor/imgui"
IncludeDir["glm"] = "%{wks.location}/Aurora/vendor/glm"
IncludeDir["stb_image"] = "%{wks.location}/Aurora/vendor/stb_image"
IncludeDir["entt"] = "%{wks.location}/Aurora/vendor/entt/include"
group "Dependencies"
include "vendor/premake"
include "Aurora/vendor/GLFW"
include "Aurora/vendor/Glad"
include "Aurora/vendor/imgui"
group ""
include "Aurora"
include "Sandbox"
include "AuroraPolaris"