-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
37 lines (31 loc) · 1.08 KB
/
Copy pathpremake5.lua
File metadata and controls
37 lines (31 loc) · 1.08 KB
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
-- OpenGL-Sandbox
workspace "OpenGL-TestSite"
architecture "x64"
startproject "OpenGL-Sandbox"
configurations
{
"Debug",
"Release"
}
flags
{
"MultiProcessorCompile"
}
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
-- Include directories relative to solution
IncludeDir = {}
IncludeDir["Glad"] = "~vendor/glad-OpenGL_4.4/include"
IncludeDir["GLFW"] = "~vendor/glfw/include"
IncludeDir["ImGui"] = "~vendor/imgui"
IncludeDir["GLM"] = "~vendor/glm"
IncludeDir["spdlog"] = "~vendor/spdlog/include"
IncludeDir["stb_image"] = "~vendor/stb_image"
-- Projects
group "Dependencies"
-- include [prj.path]
include "~vendor/glad-OpenGL_4.4" -- includeexternal for upcoming workspace/solutions so that it dosen't needs to recompile
include "~vendor/glfw" -- includeexternal for upcoming workspace/solutions
include "~vendor/imgui" -- includeexternal for upcoming workspace/solutions
group ""
include "OpenGL-Laboratory" -- includeexternal for upcoming workspace/solutions
include "OpenGL-Sandbox"