c-scripting/project.4coder

34 lines
1012 B
Plaintext

version(2);
project_name = "example1";
patterns = {
"*.c", "*.cpp", "*.h", "*.m", "*.bat", "*.sh", "*.4coder", "*.txt"
};
blacklist_patterns = { ".*" };
load_paths_base = { { ".", .relative = true, .recursive = true } };
load_paths = {
.win = load_paths_base, .linux = load_paths_base, .mac = load_paths_base
};
commands = {
.build_with_clang = { .out = "*compilation*",
.footer_panel = true, .save_dirty_files = true,
.win = "build_with_clang.bat", .linux = "./build.sh", .mac = "./build.sh"
},
.build_with_cl = { .out = "*compilation*",
.footer_panel = true, .save_dirty_files = true,
.win = "build_with_cl.bat"
},
.build_ld_meta = { .out = "*compilation*",
.footer_panel = true, .save_dirty_files = true,
.linux = "./build_ld_meta.sh", .mac = "./build_ld_meta.sh"
},
.run = { .out = "*run*", .footer_panel = false, .save_dirty_files = false,
.win = "build\\example1", .linux = "build/example1", .mac = "build/example1"
},
};
fkey_command = {
.F1 = "build_with_cl",
.F2 = "run",
};