-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
35 lines (30 loc) · 975 Bytes
/
premake5.lua
File metadata and controls
35 lines (30 loc) · 975 Bytes
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
workspace "pgr-engine"
configurations { "Debug", "Release" }
flags { "MultiProcessorCompile" }
location "build"
project "glad"
language "C"
kind "StaticLib" -- Glad should be pretty much unaffected by anything, as it is an external lib
targetdir "build/%{cfg.buildcfg}"
optimize "On"
files {
"src/lib/glad/**.h",
"src/lib/glad/**.c",
}
project "engine"
language "C++"
cppdialect "C++17"
targetdir "build/%{cfg.buildcfg}"
files {
"src/engine/**.hpp",
"src/engine/**.cpp",
}
links { "glad:static", "glm:shared", "glfw:shared", "assimp:shared" }
includedirs { "src/lib" }
filter "configurations:Debug"
kind "ConsoleApp"
symbols "On"
filter "configurations:Release"
kind "WindowedApp"
defines { "NDEBUG" }
optimize "On"