Files
eepp/.ecode/project_build.json

676 lines
16 KiB
JSON

{
"ecode-linux": {
"build": [
{
"args": "--disable-static-build gmake",
"command": "premake4",
"working_dir": "${project_root}"
},
{
"args": "-j${nproc} config=${build_type} ecode",
"command": "make",
"working_dir": "${build_dir}"
}
],
"build_types": [
"debug",
"release"
],
"clean": [
{
"args": "config=${build_type} clean",
"command": "make",
"working_dir": "${build_dir}"
}
],
"config": {
"clear_sys_env": false,
"strip_ansi_codes": false
},
"os": [
"linux"
],
"output_parser": {
"config": {
"preset": "generic",
"relative_file_paths": true
}
},
"run": [
{
"args": "-v",
"command": "ecode-debug",
"name": "ecode-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "ecode",
"name": "ecode-release",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "eehttp-debug",
"name": "eehttp-debug",
"run_in_terminal": true,
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "eepp-sound",
"name": "eepp-sound",
"run_in_terminal": true,
"working_dir": "${project_root}/bin"
}
],
"var": {
"build_dir": "${project_root}/make/${os}"
}
},
"ecode-macos": {
"build": [
{
"args": "config=${build_type} ecode",
"command": "${build_dir}/make_no_fw.sh",
"working_dir": "${build_dir}"
}
],
"build_types": [
"debug",
"release"
],
"clean": [
{
"args": "config=${build_type} clean",
"command": "${build_dir}/make_no_fw.sh",
"working_dir": "${build_dir}"
}
],
"config": {
"clear_sys_env": false,
"strip_ansi_codes": false
},
"os": [
"macos"
],
"output_parser": {
"config": {
"preset": "generic",
"relative_file_paths": true
}
},
"run": [
{
"args": "-v",
"command": "${project_root}/bin/ecode-debug",
"name": "ecode-debug",
"working_dir": "${project_root}/bin/"
},
{
"args": "-x",
"command": "${project_root}/bin/ecode",
"name": "ecode-release",
"working_dir": "${project_root}/bin/"
}
],
"var": {
"build_dir": "${project_root}/projects/${os}"
}
},
"ecode-windows": {
"build": [
{
"args": "--windows-mingw-build gmake",
"command": "premake5.exe",
"working_dir": ""
},
{
"args": "-C make\\windows config=${build_type}_x86_64 -j${nproc} ecode",
"command": "mingw32-make.exe",
"working_dir": ""
}
],
"build_types": [
"debug",
"release"
],
"clean": [
{
"args": "-C make\\windows clean",
"command": "mingw32-make.exe",
"working_dir": ""
}
],
"config": {
"clear_sys_env": false,
"strip_ansi_codes": false
},
"os": [
"windows"
],
"output_parser": {
"config": {
"relative_file_paths": true
}
},
"run": [
{
"args": "",
"command": "ecode-debug.exe",
"name": "ecode-debug",
"working_dir": "${project_root}/bin/"
},
{
"args": "",
"command": "ecode.exe",
"name": "ecode-release",
"working_dir": "${project_root}/bin/"
}
]
},
"eepp-linux": {
"build": [
{
"args": "--disable-static-build --with-mold-linker --with-debug-symbols --address-sanitizer gmake",
"command": "premake4",
"working_dir": "${project_root}"
},
{
"args": "-j${nproc} config=${build_type}",
"command": "make",
"working_dir": "${build_dir}"
}
],
"build_types": [
"debug",
"release"
],
"clean": [
{
"args": "config=${build_type} clean",
"command": "make",
"working_dir": "${build_dir}"
}
],
"config": {
"clear_sys_env": false,
"strip_ansi_codes": false
},
"os": [
"linux"
],
"output_parser": {
"config": {
"preset": "generic",
"relative_file_paths": true
}
},
"run": [
{
"args": "",
"command": "${project_root}/bin/ecode-debug",
"name": "ecode-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/ecode",
"name": "ecode-release",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/unit_tests/eepp-unit_tests-debug",
"name": "eepp-unit_tests-debug",
"working_dir": "${project_root}/bin/unit_tests/"
},
{
"args": "",
"command": "${project_root}/bin/unit_tests/eepp-unit_tests",
"name": "eepp-unit_tests",
"run_in_terminal": true,
"working_dir": "${project_root}/bin/unit_tests"
},
{
"args": "",
"command": "${project_root}/bin/eepp-empty-window-debug",
"name": "eepp-empty_window-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-empty-window",
"name": "eepp-empty_window",
"working_dir": "${project_root}/bin"
},
{
"args": "-u",
"command": "${project_root}/bin/eepp-UIEditor-debug",
"name": "eepp-UIEditor-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-7guis-cells-debug",
"name": "eepp-7guis-cells-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-7guis-temperature-converter-debug",
"name": "eepp-7guis-temperature-converter-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-7guis-circle-drawer-debug",
"name": "eepp-7guis-circle-drawer-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-7guis-counter-debug",
"name": "eepp-7guis-counter-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-7guis-crud-debug",
"name": "eepp-7guis-crud-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-7guis-flight-booker-debug",
"name": "eepp-7guis-flight-booker-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-7guis-timer-debug",
"name": "eepp-7guis-timer-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eeiv-debug",
"name": "eeiv-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-fonts-debug",
"name": "eepp-fonts-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "--warn-before-closing",
"command": "${project_root}/bin/eterm-debug",
"name": "eterm-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-sound-debug",
"name": "eepp-sound-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-test-debug",
"name": "eepp-test-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-ui-perf-test-debug",
"name": "eepp-ui-perf-test-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-MapEditor-debug",
"name": "eepp-MapEditor-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-richtext-debug",
"name": "eepp-richtext-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-treeviewmodel-debug",
"name": "eepp-treeviewmodel-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-ui-hello-world",
"name": "eepp-ui-hello-world-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-ui-application-hello-world",
"name": "eepp-ui-application-hello-world-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-ui-richtext-debug",
"name": "eepp-ui-richtext-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-ui-markdownview-debug",
"name": "eepp-ui-markdownview-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "${project_root}/bin/eepp-ui-dropdownmodellist-debug",
"name": "eepp-ui-dropdownmodellist-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "-c system --hn-dark",
"command": "${project_root}/bin/eepp-ui-html-debug",
"name": "eepp-ui-html-debug",
"working_dir": "${project_root}/bin"
}
],
"var": {
"build_dir": "${project_root}/make/${os}"
}
},
"eepp-linux-cmake": {
"build": [
{
"args": "--disable-static-build cmake",
"command": "premake5",
"working_dir": "${project_root}"
},
{
"args": "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON CMakeLists.txt",
"command": "cmake",
"working_dir": "${build_dir}"
},
{
"args": "-j${nproc} config=${build_type}_x86_64",
"command": "make",
"working_dir": "${build_dir}"
}
],
"build_types": [
"debug",
"release"
],
"clean": [
{
"args": "config=${build_type} clean",
"command": "make",
"working_dir": "${build_dir}"
}
],
"config": {
"clear_sys_env": false,
"strip_ansi_codes": false
},
"os": [
"linux"
],
"output_parser": {
"config": {
"preset": "generic",
"relative_file_paths": true
}
},
"run": [
{
"args": "-v",
"command": "ecode-debug",
"name": "ecode-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "-x",
"command": "ecode",
"name": "ecode-release",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "eepp-unit_tests-debug",
"name": "eepp-unit_tests-debug",
"run_in_terminal": true,
"working_dir": "${project_root}/bin/unit_tests"
},
{
"args": "",
"command": "eepp-unit_tests",
"name": "eepp-unit_tests",
"run_in_terminal": true,
"working_dir": "${project_root}/bin/unit_tests"
},
{
"args": "",
"command": "eepp-empty-window-debug",
"name": "eepp-empty_window-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "eepp-empty-window",
"name": "eepp-empty_window",
"working_dir": "${project_root}/bin"
}
],
"var": {
"build_dir": "${project_root}/make/${os}/"
}
},
"eepp-linux-ninja": {
"build": [
{
"args": "--disable-static-build --with-debug-symbols --with-backend=SDL3 ninja",
"command": "premake5",
"working_dir": "${project_root}"
},
{
"args": "${build_type}",
"command": "ninja",
"working_dir": "${build_dir}"
}
],
"build_types": [
"debug",
"release"
],
"clean": [
{
"args": "-t clean ${build_type}",
"command": "ninja",
"working_dir": "${build_dir}"
}
],
"config": {
"clear_sys_env": false,
"strip_ansi_codes": false
},
"os": [
"linux"
],
"output_parser": {
"config": {
"preset": "generic",
"relative_file_paths": true
}
},
"run": [
{
"args": "-v",
"command": "ecode-debug",
"name": "ecode-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "-x",
"command": "ecode",
"name": "ecode-release",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "eepp-unit_tests-debug",
"name": "eepp-unit_tests-debug",
"run_in_terminal": true,
"working_dir": "${project_root}/bin/unit_tests"
},
{
"args": "",
"command": "eepp-unit_tests",
"name": "eepp-unit_tests",
"run_in_terminal": true,
"working_dir": "${project_root}/bin/unit_tests"
},
{
"args": "",
"command": "eepp-empty-window-debug",
"name": "eepp-empty_window-debug",
"working_dir": "${project_root}/bin"
},
{
"args": "",
"command": "eepp-empty-window",
"name": "eepp-empty_window",
"working_dir": "${project_root}/bin"
}
],
"var": {
"build_dir": "${project_root}/make/${os}/"
}
},
"eepp-macos": {
"build": [
{
"args": "config=${build_type}",
"command": "${build_dir}/make_no_fw.sh",
"working_dir": "${build_dir}"
}
],
"build_types": [
"debug",
"release"
],
"clean": [
{
"args": "config=${build_type} clean",
"command": "${build_dir}/make_no_fw.sh",
"working_dir": "${build_dir}"
}
],
"config": {
"clear_sys_env": false,
"strip_ansi_codes": false
},
"os": [
"macos"
],
"output_parser": {
"config": {
"preset": "generic",
"relative_file_paths": true
}
},
"run": [
{
"args": "",
"command": "${project_root}/bin/ecode-debug",
"name": "ecode-debug",
"working_dir": "${project_root}/bin/"
},
{
"args": "-x",
"command": "${project_root}/bin/ecode",
"name": "ecode-release",
"working_dir": "${project_root}/bin/"
},
{
"args": "",
"command": "${project_root}/bin/unit_tests/eepp-unit_tests-debug",
"name": "eepp-unit_test-debug",
"working_dir": "${project_root}/bin/"
},
{
"args": "",
"command": "${project_root}/bin/eepp-ui-html-debug",
"name": "eepp-ui-html-debug",
"working_dir": "${project_root}/bin/"
},
{
"args": "",
"command": "${project_root}/bin/eepp-ui-markdownview-debug",
"name": "eepp-ui-markdownview-debug",
"working_dir": "${project_root}/bin/"
}
],
"var": {
"build_dir": "${project_root}/projects/${os}"
}
},
"eepp-windows": {
"build": [
{
"args": "--windows-mingw-build gmake",
"command": "premake5.exe",
"working_dir": ""
},
{
"args": "-C make\\windows config=${build_type}_x86_64 -j${nproc}",
"command": "mingw32-make.exe",
"working_dir": ""
}
],
"build_types": [
"debug",
"release"
],
"clean": [
{
"args": "-C make\\windows clean",
"command": "mingw32-make.exe",
"working_dir": ""
}
],
"config": {
"clear_sys_env": false,
"strip_ansi_codes": false
},
"os": [
"windows"
],
"output_parser": {
"config": {
"relative_file_paths": true
}
},
"run": [
{
"args": "",
"command": "ecode-debug.exe",
"name": "ecode-debug",
"working_dir": "${project_root}/bin/"
},
{
"args": "",
"command": "ecode.exe",
"name": "ecode-release",
"working_dir": "${project_root}/bin/"
}
]
}
}