c-scripting/project.4coder

38 lines
1.2 KiB
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_with_clang.sh hooks",
.mac = "./build_with_clang.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_example1 = { .out = "*run*", .footer_panel = false, .save_dirty_files = false,
.win = "build\\example1", .linux = "build/example1", .mac = "build/example1"
},
.run_hooks = { .out = "*run*", .footer_panel = false, .save_dirty_files = false,
.win = "build\\hooks", .linux = "build/hooks", .mac = "build/hooks"
},
};
fkey_command = {
.F1 = "build_with_clang",
.F2 = "run_hooks",
};