Create PoolBox project
This commit is contained in:
parent
2090fa84f6
commit
ed612b00a3
|
@ -0,0 +1,6 @@
|
|||
*.bin
|
||||
*.cue
|
||||
*.d
|
||||
*.o
|
||||
*.lba
|
||||
**/bin
|
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": ".",
|
||||
"name": "PoolBox"
|
||||
}
|
||||
],
|
||||
"tasks": {
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "build",
|
||||
"type": "shell",
|
||||
"command": "wsl make ${input:target} BUILD_PROFILE=${input:build profile} JABY_ENGINE_DIR=$(wslpath ${env:JABY_ENGINE_PATH})",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"options": {
|
||||
"cwd": "application",
|
||||
"env": {
|
||||
"PATH": "${env:JABY_ENGINE_PATH}/bin;${env:PATH}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "cdgen",
|
||||
"type": "shell",
|
||||
"command": "${env:JABY_ENGINE_PATH}/bin/psxcdgen_ex.exe --list iso/PoolBox.lba -o iso/PoolBox psx bin-cue iso/Config.xml",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "build & generate cd",
|
||||
"type": "shell",
|
||||
"dependsOn": ["build", "cdgen"],
|
||||
"dependsOrder": "sequence",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "build profile",
|
||||
"type": "pickString",
|
||||
"options": ["debug", "release"],
|
||||
"default": "release",
|
||||
"description": "The build profile for PoolBox"
|
||||
},
|
||||
{
|
||||
"id": "target",
|
||||
"type": "pickString",
|
||||
"options": ["all", "clean", "rebuild"],
|
||||
"default": "all",
|
||||
"description": "the build target"
|
||||
}
|
||||
]
|
||||
},
|
||||
"settings": {
|
||||
"C_Cpp.default.includePath": [
|
||||
"${env:JABY_ENGINE_PATH}/include"
|
||||
],
|
||||
"C_Cpp.default.compilerPath": "",
|
||||
"C_Cpp.default.cStandard": "c17",
|
||||
"C_Cpp.default.cppStandard": "c++20",
|
||||
"C_Cpp.default.intelliSenseMode": "linux-gcc-x86",
|
||||
"C_Cpp.default.compilerArgs": [
|
||||
],
|
||||
"C_Cpp.default.defines": [
|
||||
"JABYENGINE_PAL"
|
||||
],
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
ARTIFACT = PoolBox
|
||||
BUILD_DIR = bin
|
||||
|
||||
#OVERLAY_CONFIG = Overlays.json
|
||||
|
||||
include $(JABY_ENGINE_DIR)/lib/Wildcard.mk
|
||||
SRCS = $(call rwildcard, src, c cpp)
|
||||
|
||||
INCLUDES += -I$(JABY_ENGINE_DIR)/include
|
||||
|
||||
include $(JABY_ENGINE_DIR)/lib/Makefile
|
||||
include $(JABY_ENGINE_DIR)/lib/PSEXETarget.mk
|
||||
|
||||
clean:
|
||||
rm -fr $(OUTPUT_DIR)
|
||||
rm -fr ../iso/*.bin
|
||||
rm -fr ../iso/*.cue
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"slot_0": {
|
||||
"main_area": {
|
||||
"pattern": "bin/*/src/MainState/*.o"
|
||||
}
|
||||
},
|
||||
"slot_1": {
|
||||
"main_area2": {
|
||||
"pattern": "bin/*/src/MainState2/*.o"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
#include <stdio.h>
|
||||
|
||||
void main() {
|
||||
printf("Hello Planschbecken!\n");
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
<ISO_Project>
|
||||
<Description>
|
||||
<Publisher>Jaby</Publisher>
|
||||
<License>%PSX_LICENSE_PATH%/LICENSEE.DAT</License>
|
||||
</Description>
|
||||
<Track>
|
||||
<File name="SYSTEM.CNF">iso/System.cnf</File>
|
||||
<Main name="XXXX_AAA.AA">application/bin/PSX-release/PoolBox.psexe</Main>
|
||||
</Track>
|
||||
</ISO_Project>
|
|
@ -0,0 +1,4 @@
|
|||
BOOT=cdrom:\XXXX_AAA.AA;1
|
||||
TCB=4
|
||||
EVENT=10
|
||||
STACK=801FFFF0
|
Loading…
Reference in New Issue