-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
premake5.lua
99 lines (86 loc) · 3.25 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
include "./vendor/premake/premake_customization/solution_items.lua"
workspace "Arc"
architecture "x64"
startproject "Arc-Editor"
configurations
{
"Debug",
"Release",
"Dist"
}
solution_items
{
".editorconfig"
}
flags
{
"MultiProcessorCompile"
}
files
{
"%{wks.location}/Arc/vendor/glm/util/glm.natvis",
"%{wks.location}/Arc/vendor/imgui/misc/debuggers/imgui.natvis",
"%{wks.location}/Arc/vendor/yaml-cpp/src/contrib/yaml-cpp.natvis",
"%{IncludeDir.JoltPhysics}/Jolt/Jolt.natvis",
"%{IncludeDir.entt}/../natvis/config.natvis",
"%{IncludeDir.entt}/../natvis/container.natvis",
"%{IncludeDir.entt}/../natvis/core.natvis",
"%{IncludeDir.entt}/../natvis/entity.natvis",
"%{IncludeDir.entt}/../natvis/graph.natvis",
"%{IncludeDir.entt}/../natvis/locator.natvis",
"%{IncludeDir.entt}/../natvis/meta.natvis",
"%{IncludeDir.entt}/../natvis/platform.natvis",
"%{IncludeDir.entt}/../natvis/poly.natvis",
"%{IncludeDir.entt}/../natvis/process.natvis",
"%{IncludeDir.entt}/../natvis/resource.natvis",
"%{IncludeDir.entt}/../natvis/signal.natvis",
}
filter "system:linux"
toolset "clang"
-- Library directories relavtive to root folder (solution directory)
LibDir = {}
filter "configurations:Debug"
LibDir["Mono"] = "%{wks.location}/Arc/vendor/mono/lib/Debug"
filter "configurations:Release"
LibDir["Mono"] = "%{wks.location}/Arc/vendor/mono/lib/Release"
filter "configurations:Dist"
LibDir["Mono"] = "%{wks.location}/Arc/vendor/mono/lib/Release"
-- Bin directories relavtive to root folder (solution directory)
BinDir = {}
filter "configurations:Debug"
BinDir["Mono"] = "%{wks.location}/Arc/vendor/mono/bin/Debug"
filter "configurations:Release"
BinDir["Mono"] = "%{wks.location}/Arc/vendor/mono/bin/Release"
filter "configurations:Dist"
BinDir["Mono"] = "%{wks.location}/Arc/vendor/mono/bin/Release"
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}";
-- Include directories relavtive to root folder (solution directory)
IncludeDir = {}
IncludeDir["GLFW"] = "%{wks.location}/Arc/vendor/GLFW/include"
IncludeDir["Glad"] = "%{wks.location}/Arc/vendor/Glad/include"
IncludeDir["ImGui"] = "%{wks.location}/Arc/vendor/imgui"
IncludeDir["glm"] = "%{wks.location}/Arc/vendor/glm"
IncludeDir["stb_image"] = "%{wks.location}/Arc/vendor/stb_image"
IncludeDir["entt"] = "%{wks.location}/Arc/vendor/entt/include"
IncludeDir["yaml_cpp"] = "%{wks.location}/Arc/vendor/yaml-cpp/include"
IncludeDir["ImGuizmo"] = "%{wks.location}/Arc/vendor/ImGuizmo"
IncludeDir["optick"] = "%{wks.location}/Arc/vendor/optick/src"
IncludeDir["box2d"] = "%{wks.location}/Arc/vendor/box2d/include"
IncludeDir["mono"] = "%{wks.location}/Arc/vendor/mono/include"
IncludeDir["miniaudio"] = "%{wks.location}/Arc/vendor/miniaudio"
IncludeDir["icons"] = "%{wks.location}/Arc/vendor/icons/include"
IncludeDir["JoltPhysics"] = "%{wks.location}/Arc/vendor/JoltPhysics/JoltPhysics"
IncludeDir["tinyobj"] = "%{wks.location}/Arc/vendor/tinyobj"
IncludeDir["tinygltf"] = "%{wks.location}/Arc/vendor/tinygltf"
group "Dependencies"
include "Arc/vendor/GLFW"
include "Arc/vendor/Glad"
include "Arc/vendor/imgui"
include "Arc/vendor/yaml-cpp"
include "Arc/vendor/optick"
include "Arc/vendor/box2d"
include "Arc/vendor/JoltPhysics"
group ""
include "Arc"
include "Arc-Editor"
include "Arc-ScriptCore"