forked from TheCherno/Hazel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake5.lua
46 lines (38 loc) · 794 Bytes
/
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
project "Sandbox"
kind "ConsoleApp"
language "C++"
cppdialect "C++17"
staticruntime "off"
targetdir ("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}")
objdir ("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}")
files
{
"src/**.h",
"src/**.cpp"
}
includedirs
{
"%{wks.location}/Hazel/vendor/spdlog/include",
"%{wks.location}/Hazel/src",
"%{wks.location}/Hazel/vendor",
"%{IncludeDir.glm}",
"%{IncludeDir.entt}"
}
links
{
"Hazel"
}
filter "system:windows"
systemversion "latest"
filter "configurations:Debug"
defines "HZ_DEBUG"
runtime "Debug"
symbols "on"
filter "configurations:Release"
defines "HZ_RELEASE"
runtime "Release"
optimize "on"
filter "configurations:Dist"
defines "HZ_DIST"
runtime "Release"
optimize "on"