-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathproject.4coder
More file actions
62 lines (59 loc) · 1.69 KB
/
project.4coder
File metadata and controls
62 lines (59 loc) · 1.69 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
version(1);
project_name = "solomons_key";
patterns = {
"*.c",
"*.cpp",
"*.h",
"*.m",
"*.bat",
"*.sh",
"*.4coder",
};
blacklist_patterns = {
".*",
};
load_paths_base = {
{ "./src", .relative = true, .recursive = true, },
{ "./editor", .relative = true, .recursive = false, },
};
load_paths = {
{ load_paths_base, .os = "win", },
{ load_paths_base, .os = "linux", },
{ load_paths_base, .os = "mac", },
};
command_list = {
{ .name = "build",
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end=false,
.cmd = { { "build.bat" , .os = "win" },
{ "sh build.sh", .os = "linux" },
{ "sh build.sh", .os = "mac" }, }, },
{ .name = "run",
.out = "*run*", .footer_panel = false, .save_dirty_files = false,
.cmd = { { "build\\solomons_key", .os = "win" },
{ "build/solomons_key" , .os = "linux" },
{ "build/solomons_key" , .os = "mac" }, }, },
{ .name = "run without vsync *linux*",
.out = "*run*", .footer_panel = false, .save_dirty_files = false,
.cmd = { { "vblank_mode=0 __GL_SYNC_TO_VBLANK=0 ./build/solomons_key" , .os = "linux" },
}, },
{
.name = "build editor",
.out = "*compilation*", .footer_panel=true, .save_dirty_files=true, .cursor_at_end=false,
.cmd = {
{"build_editor.bat", .os = "win"},
{"sh build_editor.sh", .os = "linux"},
}
},
{
.name = "run editor",
.out = "*run*", .footer_panel=false, .save_dirty_files=false, .cursor_at_end=true,
.cmd = {
{"build\osked", .os = "win"},
{"build/osked", .os = "linux"},
}
},
};
fkey_command[1] = "build";
fkey_command[2] = "run";
fkey_command[3] = "build editor";
fkey_command[4] = "run editor";