-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake5.lua
49 lines (41 loc) · 1.38 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
include "./vendors/premake/premake_customization/solution_items.lua"
workspace "rocket"
architecture "x86_64"
startproject "rocket-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["Box2D"] = "%{wks.location}/rocket-engine/vendors/Box2D/include"
IncludeDir["GLFW"] = "%{wks.location}/rocket-engine/vendors/GLFW/include"
IncludeDir["Glad"] = "%{wks.location}/rocket-engine/vendors/Glad/include"
IncludeDir["ImGui"] = "%{wks.location}/rocket-engine/vendors/imgui"
IncludeDir["glm"] = "%{wks.location}/rocket-engine/vendors/glm"
IncludeDir["stb_image"] = "%{wks.location}/rocket-engine/vendors/stb_image"
IncludeDir["entt"] = "%{wks.location}/rocket-engine/vendors/entt/include"
IncludeDir["yaml_cpp"] = "%{wks.location}/rocket-engine/vendors/yaml-cpp/include"
IncludeDir["ImGuizmo"] = "%{wks.location}/rocket-engine/vendors/ImGuizmo"
group "Dependencies"
include "vendors/premake"
include "rocket-engine/vendors/Box2D"
include "rocket-engine/vendors/GLFW"
include "rocket-engine/vendors/Glad"
include "rocket-engine/vendors/imgui"
include "rocket-engine/vendors/yaml-cpp"
group ""
include "rocket-engine"
include "Sandbox"
include "rocket-editor"