4coder/project.4coder

148 lines
3.7 KiB
Plaintext
Raw Normal View History

2021-01-15 23:49:28 +00:00
version(2);
project_name = "4coder";
2019-11-07 05:58:08 +00:00
patterns = {
2021-01-24 23:30:57 +00:00
"*.c",
"*.cpp",
"*.h",
"*.m",
"*.mm",
"*.bat",
"*.sh",
"*.4coder",
"*.txt",
};
blacklist_patterns = {
2021-01-24 23:30:57 +00:00
".*",
};
2021-01-15 23:49:28 +00:00
2021-01-17 20:37:25 +00:00
load_path_shared = { .path = ".", .recursive = true, .relative = true, };
load_paths = {
2021-01-24 23:30:57 +00:00
.win = { load_path_shared },
.linux = { load_path_shared },
.mac = { load_path_shared },
};
2017-02-06 13:49:00 +00:00
2021-01-15 23:49:28 +00:00
commands = {
2021-01-24 23:30:57 +00:00
.build_x64 = {
.win = "echo build: x64 & bin\\build.bat",
.linux = "echo build: x64 & bin/build-linux.sh",
.out = "*compilation*",
.footer_panel = true,
.save_dirty_files = true,
.cursor_at_end = false,
},
.build_x86 = {
.win = "echo build: x86 & bin\\build.bat /DDEV_BUILD_X86",
.linux = "echo build: x86 & bin/build-linux.sh /DDEV_BUILD_X86",
.out = "*compilation*",
.footer_panel = true,
.save_dirty_files = true,
.cursor_at_end = false,
},
.package = {
.win = "echo package & bin\\package.bat",
.linux = "echo package & bin/package.sh",
.out = "*compilation*",
.footer_panel = false,
.save_dirty_files = true,
.cursor_at_end = false,
},
.run_one_time = {
.win = "pushd ..\\build & one_time",
.linux = "pushd ../build & one_time",
.out = "*run*",
.footer_panel = false,
.save_dirty_files = false,
.cursor_at_end = false,
},
.build_custom_api_docs = {
.win = "custom\\bin\\build_one_time docs\\4ed_doc_custom_api_main.cpp ..\\build",
.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,
},
};
fkey_command = {
2021-01-24 23:30:57 +00:00
.F1 = "build_x64",
.F3 = "build_site_render",
.F4 = "run_one_time",
.F5 = "build_C___lexer_generator",
.F6 = "build_token_tester",
.F11 = "package",
};