Browse Source

Added VSCode build tasks and intellisense support

pull/2/head
Dimitris Panokostas 1 year ago
parent
commit
5d6a9a6492
2 changed files with 55 additions and 0 deletions
  1. +18
    -0
      .vscode/c_cpp_properties.json
  2. +37
    -0
      .vscode/tasks.json

+ 18
- 0
.vscode/c_cpp_properties.json View File

@@ -0,0 +1,18 @@
{
"configurations": [
{
"name": "AmigaOS3",
"includePath": [
"${workspaceFolder}/**",
"D:/vbcc/targets/m68k-amigaos/include",
"D:/vbcc/ndk39/include/include_h"
],
"defines": [],
"compilerPath": "D:/vbcc/bin/vc.exe",
"cStandard": "c99",
"cppStandard": "c++98",
"intelliSenseMode": "${default}"
}
],
"version": 4
}

+ 37
- 0
.vscode/tasks.json View File

@@ -0,0 +1,37 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build ZZ9000.card",
"type": "shell",
"windows": {
"command": "vc +aos68k -nostdlib -c99 -O2 -o .\\rtg\\ZZ9000.card .\\rtg\\mntgfx.c -lamiga -ldebug"
},
"osx": {
"command": "vc +aos68k -nostdlib -c99 -O2 -o ./rtg/ZZ9000.card ./rtg/mntgfx.c -lamiga -ldebug"
},
"linux": {
"command": "vc +aos68k -nostdlib -c99 -O2 -o ./rtg/ZZ9000.card ./rtg/mntgfx.c -lamiga -ldebug"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Clean",
"type": "shell",
"windows": {
"command": "del .\\rtg\\ZZ9000.card"
},
"osx": {
"command": "rm ./rtg/ZZ9000.card"
},
"linux": {
"command": "rm ./rtg/ZZ9000.card"
}
}
]
}

Loading…
Cancel
Save