2021-01-15 23:49:28 +00:00
|
|
|
version(2);
|
2018-05-26 07:49:37 +00:00
|
|
|
project_name = "4coder";
|
2019-11-07 05:58:08 +00:00
|
|
|
|
2018-05-26 07:49:37 +00:00
|
|
|
patterns = {
|
|
|
|
"*.c",
|
|
|
|
"*.cpp",
|
|
|
|
"*.h",
|
|
|
|
"*.m",
|
2020-01-17 03:58:24 +00:00
|
|
|
"*.mm",
|
2018-05-26 07:49:37 +00:00
|
|
|
"*.bat",
|
|
|
|
"*.sh",
|
|
|
|
"*.4coder",
|
|
|
|
"*.txt",
|
|
|
|
};
|
|
|
|
blacklist_patterns = {
|
|
|
|
".*",
|
|
|
|
};
|
2021-01-15 23:49:28 +00:00
|
|
|
|
2021-01-17 20:37:25 +00:00
|
|
|
load_path_shared = { .path = ".", .recursive = true, .relative = true, };
|
|
|
|
|
2018-05-26 07:49:37 +00:00
|
|
|
load_paths = {
|
2021-01-17 20:37:25 +00:00
|
|
|
.win = { load_path_shared },
|
|
|
|
.linux = { load_path_shared },
|
|
|
|
.mac = { load_path_shared },
|
2018-05-26 07:49:37 +00:00
|
|
|
};
|
2017-02-06 13:49:00 +00:00
|
|
|
|
2021-01-15 23:49:28 +00:00
|
|
|
commands = {
|
|
|
|
.build_x64 = {
|
2021-01-17 20:56:49 +00:00
|
|
|
.win = "echo build: x64 & bin\\build.bat",
|
|
|
|
.linux = "echo build: x64 & bin/build-linux.sh",
|
2021-01-15 23:49:28 +00:00
|
|
|
.out = "*compilation*",
|
|
|
|
.footer_panel = true,
|
|
|
|
.save_dirty_files = true,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
|
|
|
.build_x86 = {
|
2021-01-17 20:56:49 +00:00
|
|
|
.win = "echo build: x86 & bin\\build.bat /DDEV_BUILD_X86",
|
|
|
|
.linux = "echo build: x86 & bin/build-linux.sh /DDEV_BUILD_X86",
|
2021-01-15 23:49:28 +00:00
|
|
|
.out = "*compilation*",
|
|
|
|
.footer_panel = true,
|
|
|
|
.save_dirty_files = true,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
|
|
|
.package = {
|
2021-01-17 20:56:49 +00:00
|
|
|
.win = "echo package & bin\\package.bat",
|
|
|
|
.linux = "echo package & bin/package.sh",
|
2021-01-15 23:49:28 +00:00
|
|
|
.out = "*compilation*",
|
|
|
|
.footer_panel = false,
|
|
|
|
.save_dirty_files = true,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
|
|
|
.run_one_time = {
|
2021-01-17 20:56:49 +00:00
|
|
|
.win = "pushd ..\\build & one_time",
|
|
|
|
.linux = "pushd ../build & one_time",
|
2021-01-15 23:49:28 +00:00
|
|
|
.out = "*run*",
|
|
|
|
.footer_panel = false,
|
|
|
|
.save_dirty_files = false,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
|
|
|
.build_custom_api_docs = {
|
2021-01-17 20:56:49 +00:00
|
|
|
.win = "custom\\bin\\build_one_time docs\\4ed_doc_custom_api_main.cpp ..\\build",
|
2021-01-15 23:49:28 +00:00
|
|
|
.out = "*compilation*",
|
|
|
|
.footer_panel = true,
|
|
|
|
.save_dirty_files = true,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
|
|
|
.build_C___lexer_generator = {
|
|
|
|
.win = "custom\bin\build_one_time custom\languages\4coder_cpp_lexer_gen.cpp ..\build",
|
|
|
|
.out = "*compilation*",
|
|
|
|
.footer_panel = true,
|
|
|
|
.save_dirty_files = true,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
|
|
|
.build_token_tester = {
|
|
|
|
.win = "custom\bin\build_one_time custom\languages\4coder_cpp_lexer_test.cpp ..\build",
|
|
|
|
.out = "*compilation*",
|
|
|
|
.footer_panel = true,
|
|
|
|
.save_dirty_files = true,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
|
|
|
.build_system_api = {
|
|
|
|
.win = "custom\bin\build_one_time 4ed_system_api.cpp ..\build",
|
|
|
|
.out = "*compilation*",
|
|
|
|
.footer_panel = true,
|
|
|
|
.save_dirty_files = true,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
|
|
|
.build_font_api = {
|
|
|
|
.win = "custom\bin\build_one_time 4ed_font_api.cpp ..\build",
|
|
|
|
.out = "*compilation*",
|
|
|
|
.footer_panel = true,
|
|
|
|
.save_dirty_files = true,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
|
|
|
.build_graphics_api = {
|
|
|
|
.win = "custom\bin\build_one_time 4ed_graphics_api.cpp ..\build",
|
|
|
|
.out = "*compilation*",
|
|
|
|
.footer_panel = true,
|
|
|
|
.save_dirty_files = true,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
|
|
|
.build_api_parser = {
|
|
|
|
.win = "custom\bin\build_one_time 4ed_api_parser_main.cpp ..\build & copy /B ..\build\one_time.exe ..\build\api_parser.exe",
|
|
|
|
.out = "*compilation*",
|
|
|
|
.footer_panel = true,
|
|
|
|
.save_dirty_files = true,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
|
|
|
.build_api_checker = {
|
|
|
|
.win = "custom\bin\build_one_time 4ed_api_check.cpp ..\build & copy /B ..\build\one_time.exe ..\build\api_checker.exe",
|
|
|
|
.out = "*compilation*",
|
|
|
|
.footer_panel = true,
|
|
|
|
.save_dirty_files = true,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
|
|
|
.build_keycode_generator = {
|
|
|
|
.win = "custom\bin\build_one_time 4ed_generate_keycodes.cpp ..\build",
|
|
|
|
.out = "*compilation*",
|
|
|
|
.footer_panel = true,
|
|
|
|
.save_dirty_files = true,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
|
|
|
.build_site_render = {
|
|
|
|
.win = "custom\bin\build_one_time site/4ed_site_render_main.cpp ..\build",
|
|
|
|
.out = "*compilation*",
|
|
|
|
.footer_panel = true,
|
|
|
|
.save_dirty_files = true,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
|
|
|
.generate_custom_api_master_list = {
|
|
|
|
.win = "..\build\api_parser 4ed_api_implementation.cpp",
|
|
|
|
.out = "*run*",
|
|
|
|
.footer_panel = false,
|
|
|
|
.save_dirty_files = false,
|
|
|
|
.cursor_at_end = false,
|
|
|
|
},
|
2018-05-26 07:49:37 +00:00
|
|
|
};
|
2021-01-16 00:18:30 +00:00
|
|
|
|
|
|
|
fkey_command = {
|
|
|
|
.F1 = "build_x64",
|
|
|
|
.F3 = "build_site_render",
|
|
|
|
.F4 = "run_one_time",
|
|
|
|
.F5 = "build_C___lexer_generator",
|
|
|
|
.F6 = "build_token_tester",
|
|
|
|
.F11 = "package",
|
|
|
|
};
|
|
|
|
|