4coder/code/custom/project.4coder

66 lines
1.9 KiB
Plaintext
Raw Permalink Normal View History

2019-11-07 05:58:08 +00:00
version(1);
project_name = "4coder custom";
patterns = {
"*.c",
"*.cpp",
"*.h",
"*.m",
"*.mm",
2019-11-07 05:58:08 +00:00
"*.bat",
"*.sh",
"*.4coder",
"*.txt",
};
blacklist_patterns = {
".*",
};
load_paths_custom = {
2019-11-07 05:58:08 +00:00
{"."},
};
load_paths = {
{ load_paths_custom, .os = "win" },
{ load_paths_custom, .os = "linux"},
{ load_paths_custom, .os = "mac" },
2019-11-07 05:58:08 +00:00
};
build_super_x64_win32 = "bin\\buildsuper_x64-win.bat";
build_super_x86_win32 = "bin\\buildsuper_x86-win.bat";
build_super_x64_linux = "bin/buildsuper_x64-linux.sh";
build_super_x86_linux = "bin/buildsuper_x86-linux.sh";
build_super_x64_mac = "bin/buildsuper_x64-mac.sh";
2019-11-07 05:58:08 +00:00
command_list = {
{ .name = "build super x64",
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
.cmd = { {build_super_x64_win32, .os ="win" },
{build_super_x64_linux , .os ="linux"},
{build_super_x64_mac , .os ="mac" }, }, },
2019-11-07 05:58:08 +00:00
{ .name = "build super x86",
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
.cmd = { {build_super_x86_win32, .os ="win" },
{build_super_x86_linux, .os ="linux" }, }, },
2019-11-07 05:58:08 +00:00
{ .name = "build C++ lexer generator",
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
.cmd = { {"bin\\build_one_time languages\\4coder_cpp_lexer_gen.cpp ..\\build", .os ="win" },
2019-11-07 05:58:08 +00:00
}, },
{ .name = "build token tester",
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
.cmd = { {"bin\\build_one_time languages\\4coder_cpp_lexer_test.cpp ..\\build", .os = "win" },
2019-11-07 05:58:08 +00:00
}, },
{ .name = "run one time",
.out = "*run*", .footer_panel = false, .save_dirty_files = false,
.cmd = { {"pushd ..\\build & one_time", .os = "win" },
}, },
};
fkey_command[1] = "build super x64";
fkey_command[2] = "build C++ lexer generator";
fkey_command[3] = "build token tester";
fkey_command[4] = "run one time";
fkey_command[5] = "build super x86";