-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.4coder
74 lines (69 loc) · 2.17 KB
/
project.4coder
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
version(1);
project_name = "basic emulator";
patterns = {
"*.cpp",
"*.c",
"*.h",
"*.sh",
"*.4coder",
"*.txt",
"*.json"
};
blacklist_patterns =
{
".*",
};
load_paths = {
{
{
{"./libretro", .relative = true, .recursive = true, },
{"./assets", .relative = true, .recursive = true, },
{"./extern", .relative = true, .recursive = true, },
{".", .relative = true, .recursive = false, }
},
.os = "linux"
},
{
{
{"./libretro", .relative = true, .recursive = true, },
{"./assets", .relative = true, .recursive = true, },
{"./extern", .relative = true, .recursive = true, },
{".", .relative = true, .recursive = false, }
},
.os = "win"
},
};
command_list = {
{ .name = "configure",
.out = "*configure*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = true,
.cmd = {
{"./configure-lin-64 debug && ./configure-lin-64 release", .os = "linux"},
{"configure-win-64.bat debug & configure-win-64.bat release", .os="win"}
},
},
{ .name = "build",
.out = "*compile*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false,
.cmd = {
{"cmake --build --preset=win-64-app", .os = "linux"},
{"cmake --build --preset=win-64-app", .os = "win"}
},
},
{ .name = "run-debug",
.out = "*run*", .footer_panel = true, .save_dirty_files = false, .cursor_at_end = true,
.cmd = {
{"build/lin-64-debug/basic", .os = "linux"},
{"pushd .\build\win-64-debug\ && basic&& popd", .os = "win"}
},
},
{ .name = "run-release",
.out = "*run*", .footer_panel = true, .save_dirty_files = false, .cursor_at_end = true,
.cmd = {
{"build/lin-64-release/basic", .os = "linux"},
{"pushd .\build\win-64-release\ && basic && popd", .os = "win"}
},
},
};
fkey_command[4] = "configure";
fkey_command[5] = "build";
fkey_command[1] = "run-debug";
fkey_command[2] = "run-release";