Some tweaks on VSCode

Now it works on Windows for me but there are lots of hardcoded paths around... I don't like it.
This commit is contained in:
Ray 2018-11-20 19:02:26 +01:00
parent 31d0fd820d
commit 98fee844d1
4 changed files with 11 additions and 9 deletions

View file

@ -13,7 +13,7 @@
"GRAPHICS_API_OPENGL_33",
"PLATFORM_DESKTOP"
],
"compilerPath": "C:/raylib/mingw/bin/gcc.exe",
"compilerPath": "C:/raylib/mingw32/bin/gcc.exe",
"cStandard": "c11",
"cppStandard": "c++14",
"intelliSenseMode": "clang-x64"

View file

@ -8,7 +8,7 @@
"name": "Debug",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/game",
"program": "${workspaceFolder}/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
@ -23,7 +23,7 @@
}
],
"windows": {
"miDebuggerPath": "C:/raylib/mingw/bin/gdb.exe",
"miDebuggerPath": "C:/raylib/mingw32/bin/gdb.exe",
},
"osx": {
"MIMode": "lldb"
@ -42,11 +42,11 @@
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"program": "${workspaceFolder}/game",
"program": "${workspaceFolder}/${fileBasenameNoExtension}",
"MIMode": "gdb",
"windows": {
"program": "${workspaceFolder}/game.exe",
"miDebuggerPath": "C:/raylib/mingw/bin/gdb.exe"
"program": "${workspaceFolder}/${fileBasenameNoExtension}.exe",
"miDebuggerPath": "C:/raylib/mingw32/bin/gdb.exe"
},
"osx": {
"MIMode": "lldb"

View file

@ -12,7 +12,7 @@
"DEBUGGING=TRUE"
],
"windows": {
"command": "C:/raylib/mingw/bin/mingw32-make.exe",
"command": "C:/raylib/mingw32/bin/mingw32-make.exe",
"args": [
"RAYLIB_PATH=C:/raylib/raylib"
],
@ -35,7 +35,7 @@
"PLATFORM=PLATFORM_DESKTOP",
],
"windows": {
"command": "C:/raylib/mingw/bin/mingw32-make.exe",
"command": "C:/raylib/mingw32/bin/mingw32-make.exe",
"args": [
"RAYLIB_PATH=C:/raylib/raylib",
],