From 1e54937295dade3aff0d820132a027d8d928e79e Mon Sep 17 00:00:00 2001 From: Matthieu Bucchianeri Date: Sun, 13 Oct 2024 01:14:48 -0700 Subject: [PATCH] Add build script for SDPP. --- XTMax/Apps/SDPP/.gitignore | 4 ++++ XTMax/Apps/SDPP/.vscode/tasks.json | 20 ++++++++++++++++++++ XTMax/Apps/SDPP/Build.conf | 15 +++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 XTMax/Apps/SDPP/.gitignore create mode 100644 XTMax/Apps/SDPP/.vscode/tasks.json create mode 100644 XTMax/Apps/SDPP/Build.conf diff --git a/XTMax/Apps/SDPP/.gitignore b/XTMax/Apps/SDPP/.gitignore new file mode 100644 index 0000000..8b3e801 --- /dev/null +++ b/XTMax/Apps/SDPP/.gitignore @@ -0,0 +1,4 @@ +*.obj +*.map +*.sys +log.txt diff --git a/XTMax/Apps/SDPP/.vscode/tasks.json b/XTMax/Apps/SDPP/.vscode/tasks.json new file mode 100644 index 0000000..9038a54 --- /dev/null +++ b/XTMax/Apps/SDPP/.vscode/tasks.json @@ -0,0 +1,20 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Build in DOSBox", + "type": "shell", + "command": "..\\..\\Tools\\DOSBox\\DOSBox.exe -conf Build.conf", + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} diff --git a/XTMax/Apps/SDPP/Build.conf b/XTMax/Apps/SDPP/Build.conf new file mode 100644 index 0000000..9ed3f85 --- /dev/null +++ b/XTMax/Apps/SDPP/Build.conf @@ -0,0 +1,15 @@ +[autoexec] +@ECHO OFF +CLS +MOUNT C . +MOUNT D ..\..\Tools\BCC31 +SET PATH=D:\ +C: +MAKE > LOG.TXT +IF ERRORLEVEL 1 GOTO :ERROR +EXIT +:ERROR +TYPE LOG.TXT +ECHO Log saved to LOG.TXT +PAUSE +EXIT