-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
61 lines (49 loc) · 949 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
workspace "NewOpenGLtestPlatform"
architecture "X64"
configurations
{
"Debug",
"Release"
}
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
project "OpenGLtestPlatform"
location "OpenGLtestPlatform"
kind "ConsoleApp"
language "C++"
cppdialect "C++17"
staticruntime "off"
targetdir ("bin/")
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
files
{
"%{prj.name}/src/**.h",
"%{prj.name}/src/**.hpp",
"%{prj.name}/src/**.cpp",
"%{prj.name}/src/**.c"
}
includedirs
{
"%{prj.name}/Dependencies/include",
"%{prj.name}/src/vendor",
"%{prj.name}/src/"
}
libdirs
{
"%{prj.name}/Dependencies/lib"
}
links
{
"glfw3.lib",
"opengl32.lib",
"assimp-vc142-mt.lib"
}
filter "system:windows"
systemversion "latest"
filter "configurations:Debug"
runtime "Debug"
defines "_DEBUG"
symbols "on"
filter "configurations:Release"
runtime "Release"
defines "NDEBUG"
optimize "on"