From f6d3090f7fa76eb8e0dbe060b8490cb49c001c39 Mon Sep 17 00:00:00 2001 From: nasr Date: Mon, 5 Oct 2026 22:02:56 +0200 Subject: init: base --- project.4coder | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 project.4coder (limited to 'project.4coder') diff --git a/project.4coder b/project.4coder new file mode 100644 index 0000000..e392f5b --- /dev/null +++ b/project.4coder @@ -0,0 +1,78 @@ +version(2); +project_name = "loo"; + +patterns = { + "*.c", + "*.cpp", + "*.h", + "*.m", + "*.bat", + "*.sh", + "*.4coder", + "*.jr", +}; + +blacklist_patterns = { + ".*", +}; + +paths = { + { "./source/code", .relative = true, .recursive = true, }, + { "./source/base", .relative = true, .recursive = true, }, +}; + +linux_paths = { + { "./source/code", .relative = true, .recursive = true, }, + { "./source/base", .relative = true, .recursive = true, }, + { "/usr/include", .relative = false, .recursive = false, }, + { "/usr/include/vulkan", .relative = false, .recursive = false, }, + { "/usr/include/X11", .relative = false, .recursive = false, }, +}; + +load_paths = { + .win = paths, + .linux = linux_paths, + .mac = paths, +}; + +commands = { + .build = { + .linux = "./build.sh", + .mac = "./build.sh", + .out = "*compilation*", + .footer_panel = false, + .save_dirty_files = true, + .cursor_at_end = true, + }, + .run = { + .linux = "./build/loo", + .mac = "./build/loo", + .out = "*compilation*", + .footer_panel = false, + .save_dirty_files = true, + .cursor_at_end = true, + }, + .test_build = { + .linux = "./test.sh", + .mac = "./test.sh", + .out = "*compilation*", + .footer_panel = false, + .save_dirty_files = true, + .cursor_at_end = true, + }, + .test_run = { + .linux = "setarch $(uname -m) -R ./build/test", // disables address randomization + .mac = "./test/build", + .out = "*compilation*", + .footer_panel = false, + .save_dirty_files = true, + .cursor_at_end = true, + }, +}; + +fkey_command = { + .F1 = "build", + .F2 = "run", + .F3 = "test_build", + .F4 = "test_run", +}; \ No newline at end of file -- cgit v1.3.1