-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.lua
More file actions
92 lines (76 loc) · 1.73 KB
/
build.lua
File metadata and controls
92 lines (76 loc) · 1.73 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
require "ecc/ecc"
workspace "project"
location "build/makefiles"
configurations { "debug" }
architecture "x86_64"
project "glfw"
location "build/makefiles"
kind "staticlib"
toolset "gcc"
language "c"
objdir "build/bin-int/"
targetdir "build/bin/"
files {
"glfw/src/context.c",
"glfw/src/init.c",
"glfw/src/input.c",
"glfw/src/monitor.c",
"glfw/src/platform.c",
"glfw/src/vulkan.c",
"glfw/src/window.c",
"glfw/src/egl_context.c",
"glfw/src/osmesa_context.c",
"glfw/src/null_init.c",
"glfw/src/null_monitor.c",
"glfw/src/null_window.c",
"glfw/src/null_joystick.c",
}
defines {
"_GLFW_X11",
}
files {
"glfw/src/posix_module.c",
"glfw/src/posix_time.c",
"glfw/src/posix_thread.c",
"glfw/src/xkb_unicode.c",
"glfw/src/linux_joystick.c",
"glfw/src/x11_init.c",
"glfw/src/linux_joystick.c",
"glfw/src/x11_monitor.c",
"glfw/src/x11_window.c",
"glfw/src/glx_context.c",
"glfw/src/posix_poll.c"
}
optimize "off"
symbols "on"
project "ignite"
location "build/makefiles"
kind "staticlib"
toolset "gcc"
language "c"
objdir "build/bin-int/"
targetdir "build/bin/"
defines {
"GLFW_INCLUDE_NONE",
"GLFW_INCLUDE_VULKAN"
}
files { "ignite/src/**.c", "ignite/src/**.cpp" }
includedirs {"glfw/include" }
optimize "off"
symbols "on"
project "app"
location "build/makefiles"
kind "consoleapp"
toolset "gcc"
language "c"
objdir "build/bin-int"
targetdir "build/bin"
files { "app/src/**.c", "app/src/**.cpp" }
includedirs { "ignite/src", "glfw/include", "app/include" }
defines {
"GLFW_INCLUDE_NONE",
"GLFW_INCLUDE_VULKAN"
}
links { "ignite", "glfw", "vulkan", "stdc++", "m" }
optimize "off"
symbols "on"