vn/project.4coder

88 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2023-06-17 17:00:55 +00:00
version(1);
project_name = "vn";
patterns =
{
"*.c",
"*.cpp",
"*.jai",
"*.odin",
"*.zig",
"*.h",
"*.inc",
"*.bat",
"*.sh",
"*.4coder",
"*.txt",
};
blacklist_patterns =
{
".*",
};
load_paths =
{
{
{ {"."}, .recursive = true, .relative = true }, .os = "win"
},
};
command_list =
{
{
.name = "build-win32",
2023-06-17 17:00:55 +00:00
.out = "*compilation*",
.footer_panel = true,
.save_dirty_files = true,
.cursor_at_end = false,
.cmd =
{
{ "code\\build.bat", .os = "win" },
2023-06-17 17:00:55 +00:00
},
},
{
.name = "run",
.out = "*compilation*",
.footer_panel = true,
.save_dirty_files = true,
.cursor_at_end = false,
.cmd =
{
{ "build\\win32_main.exe", .os = "win" },
},
},
{
.name = "cloc",
.out = "*compilation*",
.footer_panel = true,
.save_dirty_files = true,
.cursor_at_end = false,
.cmd =
{
2023-06-21 16:59:36 +00:00
{ "cloc ./code/ --exclude-dir=third_party", .os = "win" },
2023-06-17 17:00:55 +00:00
},
},
{
.name = "build-wasm",
.out = "*compilation*",
.footer_panel = true,
.save_dirty_files = true,
.cursor_at_end = false,
.cmd =
{
{ "code\\build_emscripten.bat", .os = "win" },
},
},
2023-06-17 17:00:55 +00:00
};
fkey_command[1] = "build-win32";
2023-06-17 17:00:55 +00:00
fkey_command[2] = "run";
fkey_command[3] = "cloc";
fkey_command[4] = "build-wasm";