-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake5.lua
47 lines (39 loc) · 1.45 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
workspace "RoraymaEngine"
architecture "x86_64"
startproject "RoraymaEditor"
configurations
{
"Debug",
"Release",
"Dist"
}
flags
{
"MultiProcessorCompile"
}
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
-- Include directories relative to root folder (solution directory)
IncludeDir = {}
IncludeDir["GLFW"] = "%{wks.location}/Engine/vendor/GLFW/include"
IncludeDir["Glad"] = "%{wks.location}/Engine/vendor/Glad/include"
IncludeDir["ImGui"] = "%{wks.location}/Engine/vendor/imgui"
IncludeDir["glm"] = "%{wks.location}/Engine/vendor/glm"
IncludeDir["Portable_File_Dialogs"] = "%{wks.location}/Engine/vendor/Portable_File_Dialogs"
IncludeDir["ImGuiColorTextEdit"] = "%{wks.location}/Engine/vendor/ImGuiColorTextEdit"
IncludeDir["stb_image"] = "%{wks.location}/Engine/vendor/stb_image"
IncludeDir["yaml_cpp"] = "%{wks.location}/Engine/vendor/yaml-cpp/include"
IncludeDir["pybind11"] = "%{wks.location}/Engine/vendor/pybind11"
IncludeDir["freetype"] = "%{wks.location}/Engine/vendor/freetype/include"
-- IncludeDir["msdfgen"] = "%{wks.location}/Engine/vendor/msdfgen"
-- IncludeDir["msdf_atlas_gen"] = "%{wks.location}/Engine/vendor/msdf-atlas-gen"
group "Dependencies"
include "Engine/vendor/GLFW"
include "Engine/vendor/Glad"
include "Engine/vendor/imgui"
include "Engine/vendor/yaml-cpp"
include "Engine/vendor/freetype"
-- include "Engine/vendor/msdfgen"
-- include "Engine/vendor/msdf-atlas-gen"
group ""
include "Engine"
include "Editor"