summaryrefslogtreecommitdiff
path: root/project.4coder
diff options
context:
space:
mode:
authornasr <nsrddyn@gmail.com>2026-10-05 22:02:56 +0200
committernasr <nsrddyn@gmail.com>2026-10-05 22:02:56 +0200
commitf6d3090f7fa76eb8e0dbe060b8490cb49c001c39 (patch)
tree433c773997e51f22738acb8b04c4fd2fc6b1bdc9 /project.4coder
init: base
Diffstat (limited to 'project.4coder')
-rw-r--r--project.4coder78
1 files changed, 78 insertions, 0 deletions
diff --git a/project.4coder b/project.4coder
new file mode 100644
index 0000000..e392f5b
--- /dev/null
+++ b/project.4coder
@@ -0,0 +1,78 @@
1version(2);
2project_name = "loo";
3
4patterns = {
5 "*.c",
6 "*.cpp",
7 "*.h",
8 "*.m",
9 "*.bat",
10 "*.sh",
11 "*.4coder",
12 "*.jr",
13};
14
15blacklist_patterns = {
16 ".*",
17};
18
19paths = {
20 { "./source/code", .relative = true, .recursive = true, },
21 { "./source/base", .relative = true, .recursive = true, },
22};
23
24linux_paths = {
25 { "./source/code", .relative = true, .recursive = true, },
26 { "./source/base", .relative = true, .recursive = true, },
27 { "/usr/include", .relative = false, .recursive = false, },
28 { "/usr/include/vulkan", .relative = false, .recursive = false, },
29 { "/usr/include/X11", .relative = false, .recursive = false, },
30};
31
32load_paths = {
33 .win = paths,
34 .linux = linux_paths,
35 .mac = paths,
36};
37
38commands = {
39 .build = {
40 .linux = "./build.sh",
41 .mac = "./build.sh",
42 .out = "*compilation*",
43 .footer_panel = false,
44 .save_dirty_files = true,
45 .cursor_at_end = true,
46 },
47 .run = {
48 .linux = "./build/loo",
49 .mac = "./build/loo",
50 .out = "*compilation*",
51 .footer_panel = false,
52 .save_dirty_files = true,
53 .cursor_at_end = true,
54 },
55 .test_build = {
56 .linux = "./test.sh",
57 .mac = "./test.sh",
58 .out = "*compilation*",
59 .footer_panel = false,
60 .save_dirty_files = true,
61 .cursor_at_end = true,
62 },
63 .test_run = {
64 .linux = "setarch $(uname -m) -R ./build/test", // disables address randomization
65 .mac = "./test/build",
66 .out = "*compilation*",
67 .footer_panel = false,
68 .save_dirty_files = true,
69 .cursor_at_end = true,
70 },
71};
72
73fkey_command = {
74 .F1 = "build",
75 .F2 = "run",
76 .F3 = "test_build",
77 .F4 = "test_run",
78}; \ No newline at end of file