1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-22 16:33:48 +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}",
"command": "~/c64/kickc_local/bin/kickc.sh",
"args": [
"-odir",
"~/c64/tmp/",
"-e",
"${relativeFile}"
],
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
}, },
"problemMatcher": [] "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",
"args": [
"-odir",
"~/c64/tmp/",
"-e",
"${relativeFile}"
]
}
}, },
{ {
"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"
} }
} }
} }