-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtests.lua
More file actions
67 lines (58 loc) · 1.46 KB
/
tests.lua
File metadata and controls
67 lines (58 loc) · 1.46 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
project "tests"
language "C"
kind "ConsoleApp"
targetdir(target_dir)
objdir(obj_dir)
files {
"tests_main.c",
"tests.c",
"logger_test.c",
"time_test.c",
"user_event_test.c",
"event_test.c"
}
if (PAL_BUILD_SYSTEM) then
files {
"system_test.c"
}
end
if (PAL_BUILD_THREAD) then
files {
"thread_test.c",
"tls_test.c",
"mutex_test.c",
"condvar_test.c"
}
end
if (PAL_BUILD_VIDEO) then
files {
"video_test.c",
"monitor_test.c",
"monitor_mode_test.c",
"window_test.c",
"icon_test.c",
"cursor_test.c",
"input_window_test.c",
"system_cursor_test.c",
"attach_window_test.c",
"char_event_test.c",
"native_integration_test.c",
"native_instance_test.c",
"custom_decoration_test.c"
}
end
if (PAL_BUILD_OPENGL and PAL_BUILD_VIDEO) then
files {
"opengl_test.c",
"opengl_fbconfig_test.c",
"opengl_context_test.c",
"opengl_multi_context_test.c"
}
end
if (PAL_BUILD_OPENGL and PAL_BUILD_VIDEO and PAL_BUILD_THREAD) then
files {
"multi_thread_opengl_test.c"
}
end
includedirs { "%{wks.location}/include" }
links { "PAL" }