-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake5.lua
41 lines (33 loc) · 1.27 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
-- Main Premake
workspace "apollo"
configurations {
"Debug",
"Release",
}
filter "configurations:Debug"
runtime "Debug"
filter "configurations:Release"
runtime "Release"
filter{}
architecture "x64"
sln = solution()
binaries = "%{sln.location}/bin/%{cfg.buildcfg}/%{cfg.system}/%{cfg.architecture}"
intermediate = "%{sln.location}/bin-int/%{cfg.buildcfg}/%{cfg.system}/%{cfg.architecture}"
-- Dependencies
include "dependencies/glad"
include "dependencies/glfw"
include "dependencies/googletest"
-- Projects
include "projects/core"
include "projects/tests"
include "projects/application"
-- Include Directories
IncludeDir = {}
IncludeDir["core"] = "%{sln.location}/projects/core/include"
IncludeDir["glad"] = "%{sln.location}/dependencies/glad/include"
IncludeDir["glfw"] = "%{sln.location}/dependencies/glfw/include"
IncludeDir["gtest"] = "%{sln.location}/dependencies/googletest/include"
IncludeDir["json"] = "%{sln.location}/dependencies/json/include"
IncludeDir["SML"] = "%{sln.location}/dependencies/SML/include"
IncludeDir["stb"] = "%{sln.location}/dependencies/stb/include"
IncludeDir["spdlog"] = "%{sln.location}/dependencies/spdlog/include"