-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuild.lua
More file actions
39 lines (33 loc) · 1.47 KB
/
Copy pathBuild.lua
File metadata and controls
39 lines (33 loc) · 1.47 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
38
39
workspace "Bonfire"
architecture "x64"
configurations { "Debug", "Release", "Dist" }
startproject "Editor"
location "Build"
-- Workspace-wide build options for MSVC
filter "system:windows"
buildoptions { "/EHsc", "/Zc:preprocessor", "/Zc:__cplusplus" }
-- Workspace-wide build options for GCC/Clang on Linux
filter "system:linux"
buildoptions { "-fPIC" }
linkoptions { "-pthread" }
OutputDir = "%{cfg.system}-%{cfg.architecture}/%{cfg.buildcfg}"
IncludeDir = {}
IncludeDir["GLAD"] = os.realpath("Engine/Dependencies/glad/include")
IncludeDir["GLFW"] = os.realpath("Engine/Dependencies/glfw/include")
IncludeDir["IMGUI"] = os.realpath("Engine/Dependencies/imgui")
IncludeDir["SOIL"] = os.realpath("Engine/Dependencies/soil/src/SOIL2")
IncludeDir["ASSIMP"] = os.realpath("Engine/Dependencies/assimp/include")
IncludeDir["GLM"] = os.realpath("Engine/Dependencies/glm/glm")
IncludeDir["IMGUIZMO"] = os.realpath("Engine/Dependencies/imguizmo/src")
IncludeDir["JSON"] = os.realpath("Engine/Dependencies/json")
IncludeDir["JOLT"] = os.realpath("Engine/Dependencies/jolt")
IncludeDir["ASIO"] = os.realpath("Engine/Dependencies/asio/include")
IncludeDir["LUA"] = os.realpath("Engine/Dependencies/lua-5.4.8/src")
IncludeDir["MINIAUDIO"] = os.realpath("Engine/Dependencies/miniaudio")
group "Dependencies"
include "Engine/Dependencies/Build-DEPENDENCIES.lua"
group ""
group "Runtime"
include "Engine/Build-ENGINE.lua"
include "Editor/Build-EDITOR.lua"
group ""