-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
69 lines (56 loc) · 1.08 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
workspace "Vox"
architecture "x86"
configurations
{
"Debug",
"Release"
}
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
project "Vox"
location "vox"
kind "ConsoleApp"
language "C++"
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("obj/" .. outputdir .. "/%{prj.name}")
libdirs
{
"Dependencies/GLFW/lib-vc2019",
"Dependencies/GLEW/lib/Release/Win32"
}
files
{
"%{prj.name}/src/**.h",
"%{prj.name}/src/**.hpp",
"%{prj.name}/src/**.cpp",
"%{prj.name}/src/**.inl"
}
includedirs
{
"Dependencies/GLFW/include",
"Dependencies/GLEW/include",
"%{prj.name}/src",
"%{prj.name}/src/stb_image"
}
links
{
"glfw3.lib",
"opengl32.lib",
"User32.lib",
"Gdi32.lib",
"Shell32.lib",
"glew32s.lib"
}
filter "system:windows"
cppdialect "C++17"
staticruntime "off"
systemversion "latest"
defines
{
"WIN32"
}
filter "configurations:Debug"
runtime "Debug"
symbols "On"
filter "configurations:Release"
runtime "Release"
optimize "On"