-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
75 lines (63 loc) · 1.61 KB
/
Copy pathpremake5.lua
File metadata and controls
75 lines (63 loc) · 1.61 KB
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
70
71
72
73
74
75
workspace "Sortilyzer"
architecture "x64"
configurations {
"Debug",
"Release"
}
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
IncludeDir = {}
IncludeDir["GLEW"] = "Sortilyzer/src/Dependencies/GLEW/include"
IncludeDir["GLFW"] = "Sortilyzer/src/Dependencies/GLFW/include"
IncludeDir["imgui"] = "Sortilyzer/src/Dependencies/imgui"
IncludeDir["imgui-sfml"] = "Sortilyzer/src/Dependencies/imgui-sfml"
IncludeDir["SFML"] = "Sortilyzer/src/Dependencies/SFML/include"
LinkDirs = {}
LinkDirs["SFML"] = "Sortilyzer/src/Dependencies/SFML/lib"
project "Sortilyzer"
kind "consoleApp"
language "C++"
cppdialect "C++17"
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
files
{
"%{prj.name}/src/**.cpp",
"%{prj.name}/src/**.hpp",
"%{prj.name}/src/**.h",
}
includedirs {
"%{prj.name}/src",
"%{prj.name}/src//Dependencies/imgui",
"%{prj.name}/src/Dependencies/imgui-sfml",
"%{prj.name}/src//Dependencies/GLEW/include",
"%{prj.name}/src//Dependencies/GLFW/include/"
}
filter "system:linux"
links {
"sfml-graphics",
"sfml-window",
"sfml-system",
"sfml-network",
"sfml-audio",
"GL",
"GLU",
"glut",
"GLEW",
"OpenGL",
"glfw",
}
filter "system:windows"
links {
"sfml-graphics",
"sfml-window",
"sfml-system",
"sfml-network",
"sfml-audio",
"opengl32"
}
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
filter "configurations:Release"
defines { " NDEBUG" }
optimize "On"