Skip to content

Instantly share code, notes, and snippets.

@neikeq
Created December 12, 2018 23:34
Show Gist options
  • Save neikeq/8cc43c3c8ce88d7ddc8c59a5308c0847 to your computer and use it in GitHub Desktop.
Save neikeq/8cc43c3c8ce88d7ddc8c59a5308c0847 to your computer and use it in GitHub Desktop.
My VSCode config files for Godot on Windows
{
"configurations": [
{
"name": "Windows",
"includePath": [
"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/include/*",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/um",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/shared",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/winrt",
"${workspaceFolder}",
"${workspaceFolder}/platform/windows",
"C:/Program Files/Mono/include/mono-2.0"
],
"defines": [
"WINDOWS_ENABLED",
"DEBUG_ENABLED",
"TOOLS_ENABLED",
"PTRCALL_ENABLED",
"MODULE_MONO_ENABLED"
],
"cStandard": "c89",
"cppStandard": "c++03",
"intelliSenseMode": "msvc-x64"
}
],
"version": 4
}
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(Windows) Launch",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/bin/godot.windows.tools.64.mono.exe",
"args": ["-v"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
// To build before launching
//"preLaunchTask": "Godot Editor Debug (Mono)"
}
]
}
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Godot Editor Debug (Mono)",
"type": "shell",
"command": "scons",
"args": [
"p=windows",
"target=debug",
"tools=yes",
"bits=64",
"-j3",
"module_mono_enabled=yes",
"mono_static=yes"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$msCompile"
]
},
{
"label": "Godot Editor Release (Mono)",
"type": "shell",
"command": "scons",
"args": [
"p=windows",
"target=release_debug",
"tools=yes",
"-j3",
"module_mono_enabled=yes",
"mono_static=yes"
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Godot Template Debug (Mono)",
"type": "shell",
"command": "scons",
"args": [
"p=windows",
"target=debug",
"tools=no",
"-j3",
"module_mono_enabled=yes",
"mono_static=yes"
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Godot Template Release (Mono)",
"type": "shell",
"command": "scons",
"args": [
"p=windows",
"target=release",
"tools=no",
"-j3",
"module_mono_enabled=yes",
"mono_static=yes"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment