-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpremake5.lua
47 lines (37 loc) · 1.2 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 "OSRobotGame"
architecture "x64"
startproject "Application"
configurations {
"Debug",
"Release",
"Dist",
}
flags {
"MultiProcessorCompile"
}
IncludeDir = {}
IncludeDir["GLFW"] = "%{wks.location}/DampEngine/vendor/GLFW/include"
IncludeDir["Glad"] = "%{wks.location}/DampEngine/vendor/Glad/include"
IncludeDir["ImGui"] = "%{wks.location}/DampEngine/vendor/imgui"
IncludeDir["glm"] = "%{wks.location}/DampEngine/vendor/glm/glm"
-- This defines ... in
--./bin/ ... /{projectName}
-- used by projects
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
group "Dependencies"
-- include "vendor/premake" CUSTOMIZATIONS (currently none)
include "DampEngine/vendor/GLFW"
include "DampEngine/vendor/Glad"
include "DampEngine/vendor/imgui"
group ""
include "DampEngine"
include "Application"
filter { "system:linux", "configurations:Debug" }
buildoptions {
"-Wall",
"-Wno-unknown-pragmas",
"-Wno-error=unused-value",
"-Wno-error=unused-variable",
"-Wno-error=unused-but-set-variable",
"-Werror",
}