Files
eepp/.ecode/project_build.json
2025-04-05 18:33:11 -03:00

525 lines
12 KiB
JSON

{
"ecode-linux": {
"build": [
{
"args": "--disable-static-build --with-text-shaper 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
},
"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
},
"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 gmake2",
"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
},
"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-text-shaper 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
},
"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": "-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_tests-debug",
"run_in_terminal": true,
"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"
}
],
"var": {
"build_dir": "${project_root}/make/${os}"
}
},
"eepp-linux-cmake": {
"build": [
{
"args": "--disable-static-build --with-text-shaper 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
},
"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-text-shaper ninja",
"command": "premake5",
"working_dir": "${project_root}"
},
{
"args": "${build_type}",
"command": "ninja",
"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
},
"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
},
"os": [
"macos"
],
"output_parser": {
"config": {
"preset": "generic",
"relative_file_paths": true
}
},
"run": [
{
"args": "-x",
"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}"
}
},
"eepp-windows": {
"build": [
{
"args": "--windows-mingw-build gmake2",
"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
},
"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/"
}
]
}
}