diff options
Diffstat (limited to 'project.4coder')
| -rw-r--r-- | project.4coder | 78 |
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 @@ | |||
| 1 | version(2); | ||
| 2 | project_name = "loo"; | ||
| 3 | |||
| 4 | patterns = { | ||
| 5 | "*.c", | ||
| 6 | "*.cpp", | ||
| 7 | "*.h", | ||
| 8 | "*.m", | ||
| 9 | "*.bat", | ||
| 10 | "*.sh", | ||
| 11 | "*.4coder", | ||
| 12 | "*.jr", | ||
| 13 | }; | ||
| 14 | |||
| 15 | blacklist_patterns = { | ||
| 16 | ".*", | ||
| 17 | }; | ||
| 18 | |||
| 19 | paths = { | ||
| 20 | { "./source/code", .relative = true, .recursive = true, }, | ||
| 21 | { "./source/base", .relative = true, .recursive = true, }, | ||
| 22 | }; | ||
| 23 | |||
| 24 | linux_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 | |||
| 32 | load_paths = { | ||
| 33 | .win = paths, | ||
| 34 | .linux = linux_paths, | ||
| 35 | .mac = paths, | ||
| 36 | }; | ||
| 37 | |||
| 38 | commands = { | ||
| 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 | |||
| 73 | fkey_command = { | ||
| 74 | .F1 = "build", | ||
| 75 | .F2 = "run", | ||
| 76 | .F3 = "test_build", | ||
| 77 | .F4 = "test_run", | ||
| 78 | }; \ No newline at end of file | ||
