1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-23 08:32:39 +00:00

Updated VS.Code files for Windows & MacOs.

This commit is contained in:
Jesper Gravgaard 2020-04-21 18:27:49 +02:00
parent bc70424634
commit 64660c626a
3 changed files with 23 additions and 11 deletions

View File

@ -1,11 +1,11 @@
{ {
"env": { "env": {
"myDefaultIncludePath": ["${workspaceFolder}", "~/c64/kickc_local/include"] "myDefaultIncludePath": ["${workspaceFolder}"]
}, },
"configurations": [ "configurations": [
{ {
"name": "Mac", "name": "Mac",
"includePath": ["${myDefaultIncludePath}", "~/c64/kickc_local/include"], "includePath": ["${myDefaultIncludePath}", "~/c64/kickc_local/include", "c:/c64/kickc_local/include"],
"defines": ["FOO", "BAR=100"] "defines": ["FOO", "BAR=100"]
} }
], ],

View File

@ -117,18 +117,28 @@
"label": "KickC Build & Run", "label": "KickC Build & Run",
"type": "shell", "type": "shell",
"cwd": "${workspaceFolder}", "cwd": "${workspaceFolder}",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [],
"windows": {
"command": "c:/c64/kickc_local/bin/kickc.bat",
"args": [
"-odir",
"c:/c64/tmp/",
"-e",
"${relativeFile}"
] },
"osx": {
"command": "~/c64/kickc_local/bin/kickc.sh", "command": "~/c64/kickc_local/bin/kickc.sh",
"args": [ "args": [
"-odir", "-odir",
"~/c64/tmp/", "~/c64/tmp/",
"-e", "-e",
"${relativeFile}" "${relativeFile}"
], ]
"group": { }
"kind": "build",
"isDefault": true
},
"problemMatcher": []
}, },
{ {
"label": "Exomize Build", "label": "Exomize Build",

View File

@ -6,7 +6,9 @@
], ],
"settings": { "settings": {
"files.associations": { "files.associations": {
"print.h": "c" "print.h": "c",
"printf.h": "c",
"c64.h": "c"
} }
} }
} }