aboutsummaryrefslogtreecommitdiffstats
path: root/project.4coder
blob: 53bc22af371df583c0998b68156f5d69298306ad (plain) (blame)
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
version(2);
project_name = "mp3_player";

patterns = {
	"*.c",
	"*.cpp",
	"*.h",
	"*.vert",
	"*.frag",
	"*.bat",
	"*.sh",
	"*.4coder",
};

blacklist_patterns = {
	".*",
};

paths = {
	{ "./source", .relative = true, .recursive = true, },
};

linux_paths = {
	{ "./source",      .relative = true,  .recursive = true,  },
	{ "/usr/include",  .relative = false, .recursive = false, },
};

load_paths = {
	.win   = paths,
	.linux = linux_paths,
	.mac   = linux_paths,
};

commands = {
	.build = {
		.linux            = "build-notify ./build.sh",
		.mac              = "./build.sh",
		.out              = "*compilation*",
		.footer_panel     = false,
		.save_dirty_files = true,
		.cursor_at_end    = true,
	},
	.reload = {
		.linux            = "build-notify ./reload.sh",
		.mac              = "./reload.sh",
		.out              = "*compilation*",
		.footer_panel     = false,
		.save_dirty_files = true,
		.cursor_at_end    = true,
	},
	.run = {
		.linux            = "./build/mp3_player",
		.mac              = "./build/mp3_player",
		.out              = "*compilation*",
		.footer_panel     = false,
		.save_dirty_files = true,
		.cursor_at_end    = true,
	},
};

fkey_command = {
	.F1 = "build",
	.F2 = "run",
	.F3 = "reload",
};