2018-05-26 07:49:37 +00:00
|
|
|
version(1);
|
|
|
|
project_name = "4coder";
|
|
|
|
patterns = {
|
|
|
|
"*.c",
|
|
|
|
"*.cpp",
|
|
|
|
"*.h",
|
|
|
|
"*.m",
|
|
|
|
"*.bat",
|
|
|
|
"*.sh",
|
|
|
|
"*.4coder",
|
|
|
|
"*.txt",
|
|
|
|
};
|
|
|
|
blacklist_patterns = {
|
|
|
|
".*",
|
|
|
|
};
|
2018-08-26 09:55:12 +00:00
|
|
|
load_paths_only = {
|
|
|
|
{"."},
|
|
|
|
};
|
2018-05-26 07:49:37 +00:00
|
|
|
load_paths = {
|
2018-06-02 04:06:13 +00:00
|
|
|
{ load_paths_only, .os = "win" },
|
|
|
|
{ load_paths_only, .os = "linux"},
|
|
|
|
{ load_paths_only, .os = "mac" },
|
2018-05-26 07:49:37 +00:00
|
|
|
};
|
2017-02-06 13:49:00 +00:00
|
|
|
|
2018-05-20 04:44:20 +00:00
|
|
|
build_x86_win32 = "echo build: x86 & build.bat /DDEV_BUILD_X86";
|
|
|
|
build_x86_linux = "echo build: x86 & ./build.sh -DDEV_BUILD_X86";
|
|
|
|
build_x86_mac = "echo build: x86 & ./build.sh -DDEV_BUILD_X86";
|
2018-05-07 02:47:22 +00:00
|
|
|
|
2018-05-26 07:49:37 +00:00
|
|
|
command_list = {
|
|
|
|
{ .name = "build x64",
|
2018-06-04 08:57:36 +00:00
|
|
|
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
2019-10-01 21:07:39 +00:00
|
|
|
.cmd = { {"echo build: x64 & bin\\build.bat" , .os = "win" },
|
|
|
|
{"echo build: x64 & bin/build.sh", .os = "linux"},
|
|
|
|
{"echo build: x64 & bin/build.sh", .os = "mac" }, }, },
|
|
|
|
|
2018-08-26 09:55:12 +00:00
|
|
|
{ .name = "run one time",
|
|
|
|
.out = "*run*", .footer_panel = false, .save_dirty_files = false,
|
2019-10-01 21:07:39 +00:00
|
|
|
.cmd = { { "pushd ..\\build & one_time", .os = "win" }, }, },
|
|
|
|
|
2019-09-27 03:52:29 +00:00
|
|
|
{ .name = "build C++ lexer generator",
|
|
|
|
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
2019-10-01 21:49:05 +00:00
|
|
|
.cmd = { { "custom\\bin\\build_one_time custom\\languages\\4coder_lex_gen_cpp.cpp ..\\build", .os = "win" }, }, },
|
2019-10-01 21:07:39 +00:00
|
|
|
|
2019-09-27 03:52:29 +00:00
|
|
|
{ .name = "build token tester",
|
|
|
|
.out = "*compilation*", .footer_panel = true, .save_dirty_files = true,
|
2019-10-01 21:07:39 +00:00
|
|
|
.cmd = { { "custom\\bin\\build_one_time languages\\4coder_lexer_cpp_test.cpp ..\\build", .os = "win" }, }, }
|
2018-05-26 07:49:37 +00:00
|
|
|
};
|
2017-02-06 13:49:00 +00:00
|
|
|
|
2019-09-27 23:56:05 +00:00
|
|
|
fkey_command[1] = "build x64";
|
2019-10-01 21:07:39 +00:00
|
|
|
fkey_command[4] = "run one time";
|
|
|
|
fkey_command[5] = "build C++ lexer generator";
|
|
|
|
fkey_command[6] = "build token tester";
|
2019-09-27 03:52:29 +00:00
|
|
|
|
|
|
|
|