forked from litasa/Advanced-OpenGL-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake5.lua
51 lines (41 loc) · 1.15 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
-- premake5.lua
--require "dlls"
workspace "Advanced GLSamples"
location "project"
configurations { "Debug", "Release" }
platforms { "Win32" }
filter { "platforms:Win32" }
system "Windows"
architecture "x86"
filter { }
project "MultidrawIndirect with Individual Data"
kind "ConsoleApp"
language "C++"
location "project/MultidrawIndirect"
targetdir "bin/%{cfg.buildcfg}/"
files { "./src/MultidrawIndirect/**.h", "./src/MultidrawIndirect/**.cpp" }
--Include directories
includedirs {
"./dependencies/windows/glfw-3.2.1/include",
"./dependencies/windows/glew-2.0.0/include"
}
--libraries and links
--links
links {
"glew32",
"opengl32",
"glfw3"
}
--libs
libdirs {
"./dependencies/windows/glfw-3.2.1/lib",
"./dependencies/windows/glew-2.0.0/lib"
}
--Debug and Release configurations
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
filter { }