Skip to content

Instantly share code, notes, and snippets.

@jknightdoeswork
Created June 13, 2020 18:29
Show Gist options
  • Save jknightdoeswork/505e6365b2bdb04dbd3e06721d8f288b to your computer and use it in GitHub Desktop.
Save jknightdoeswork/505e6365b2bdb04dbd3e06721d8f288b to your computer and use it in GitHub Desktop.
VSCode scons build files
{
// 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": "Debug",
"type": "cppvsdbg",
"request": "launch",
"program": "path to godot",
"args": ["--path", "path to project"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"preLaunchTask": "${defaultBuildTask}"
}
]
}
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "scons build",
"type": "shell",
"command": "scons",
"problemMatcher": ["$msCompile"],
"group": {
"kind": "build",
"isDefault": true
},
"args": ["platform=windows", "target_path=../nanoswarm/turbosteer/bin/", "target_name=libturbosteer", "use_llvm=no", "target=debug"],
"options": {
"cwd": "${workspaceFolder}/turbosteer"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment