-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake5.lua
87 lines (68 loc) · 2.86 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
workspace "Snow"
architecture "x86_64"
startproject "Glacier"
configurations {
"Debug",
"Release",
"Dist"
}
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
VendorIncludeDir = {}
VendorIncludeDir["Assimp"] = "%{wks.location}/Snow/vendor/assimp/include"
VendorIncludeDir["box2d"] = "%{wks.location}/Snow/vendor/box2d/include"
VendorIncludeDir["ENTT"] = "%{wks.location}/Snow/vendor/ENTT/include"
VendorIncludeDir["freetype"] = "%{wks.location}/Snow/vendor/freetype/include"
VendorIncludeDir["Glad"] = "%{wks.location}/Snow/vendor/Glad/include"
VendorIncludeDir["GLFW"] = "%{wks.location}/Snow/vendor/GLFW/include"
VendorIncludeDir["glm"] = "%{wks.location}/Snow/vendor/glm"
VendorIncludeDir["ImGui"] = "%{wks.location}/Snow/vendor/imgui"
VendorIncludeDir["ImGuizmo"] = "%{wks.location}/Snow/vendor/ImGuizmo"
VendorIncludeDir["mono"] = "%{wks.location}/Snow/vendor/mono/include"
VendorIncludeDir["stb"] = "%{wks.location}/Snow/vendor/stb"
VendorIncludeDir["shaderc"] = "%{wks.location}/Snow/vendor/shaderc/Include"
VendorIncludeDir["SPIRVCross"] = "%{wks.location}/Snow/vendor/SPIRV-Cross"
VendorIncludeDir["Vulkan"] = "%{wks.location}/Snow/vendor/vulkan/Include"
VendorIncludeDir["VMA"] = "%{wks.location}/Snow/vendor/vulkanMemoryAllocator"
VendorIncludeDir["yaml_cpp"] = "%{wks.location}/Snow/vendor/yaml-cpp/include"
VendorLibraryDir = {}
VendorLibraryDir["Assimp"] = "%{wks.location}/Snow/vendor/assimp/Lib"
VendorLibraryDir["Vulkan"] = "%{wks.location}/Snow/vendor/vulkan/Lib"
VendorLibraryDir["shaderc"] = "%{wks.location}/Snow/vendor/shaderc/Lib"
VendorLibraryDir["glslang"] = "%{wks.location}/Snow/vendor/glslang/Lib"
VendorLibraryDir["SPIRVTools"] = "%{wks.location}/Snow/vendor/SPIRV-Tools/Lib"
VendorLibraryDir["mono"] = "%{wks.location}/Snow/vendor/mono/lib"
VendorLibraryDir["freetype"] = "%{wks.location}/Snow/vendor/freetype/Lib"
--VendorLibraryDir["LinuxVulkan"] = "%{wks.location}/Snow/vendor/vulkan/Lib/Linux"--/vulkan.so.1.2.148"
--VendorLibraryDir["Linuxshaderc"] = "%{wks.location}/Snow/vendor/shaderc/lib/Linux"--/shaderc.a"
--VendorLibraryDir["Linuxshaderc_util"] = "%{wks.location}/Snow/vendor/shaderc/lib/Linux"--/shaderc_util.a"
group "Vendor"
include "Snow/vendor/box2d"
include "Snow/vendor/Glad"
include "Snow/vendor/GLFW"
include "Snow/vendor/imgui"
include "Snow/vendor/SPIRV-Cross"
include "Snow/vendor/yaml-cpp"
group ""
group "Engine"
include "Snow"
include "SnowScriptCore"
group ""
group "Editor"
include "Glacier"
group ""
group "Scripts"
include "ExampleScriptApp"
group ""
workspace "Script"
architecture "x64"
targetdir "build"
configurations {
"Debug",
"Release",
"Dist"
}
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
group "Scripting"
include "SnowScriptCore"
include "ExampleScriptApp"
group ""