adding VSCode configuration

This commit is contained in:
Peter Slattery 2022-10-24 16:17:35 -07:00
parent 4d80a9722d
commit e2a02005e7
4 changed files with 127 additions and 2 deletions

2
.gitignore vendored
View File

@ -9,8 +9,6 @@ working_data/
nssm_log.log
sysroot/
*.DS_Store
*.vscode
*.vscode/*
*.dSYM
run_tree/data/live_data
run_tree/osx/*

35
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,35 @@
{
// 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": "C++ Launch",
"type": "cppdbg",
"request": "launch",
"windows": {
"program": "${workspaceRoot}/run_tree/win32/intel/debug/lumenarium",
},
"osx": {
"program": "${workspaceRoot}/run_tree/osx/arm64/debug/lumenarium",
"MIMode": "lldb"
},
"linux": {
"program": "${workspaceRoot}/run_tree/raspi/intel/debug/lumenarium",
},
"internalConsoleOptions": "openOnSessionStart",
"logging": {
"moduleLoad": false,
"programOutput": true,
"trace": false
},
"showDisplayString": false,
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}/run_tree",
"environment": [],
"externalConsole": false, // set true to enable keyboard input
}
]
}

48
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,48 @@
{
"files.associations": {
"lumenarium_osx_file.h": "c",
"__bit_reference": "cpp",
"__functional_base": "cpp",
"__node_handle": "cpp",
"algorithm": "cpp",
"bitset": "cpp",
"chrono": "cpp",
"__memory": "cpp",
"functional": "cpp",
"iterator": "cpp",
"limits": "cpp",
"optional": "cpp",
"ratio": "cpp",
"system_error": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"vector": "cpp",
"memory": "cpp",
"dyld.h": "c",
"lumenarium_first.h": "c",
"__locale": "c",
"lumenarium_editor_opengl.h": "c",
"complex": "c",
"locale": "c",
"string": "c",
"lumenarium_editor_sculpture_visualizer_shaders.h": "c",
"lumenarium_shared_file_async_work_on_job.h": "c",
"lumenarium_engine_assembly.h": "c",
"lumenarium_engine_output.h": "c",
"ios": "cpp",
"lumenarium_os.h": "c",
"__hash_table": "c",
"__split_buffer": "c",
"array": "c",
"initializer_list": "c",
"string_view": "c",
"unordered_map": "c",
"typeinfo": "c",
"cmath": "c",
"lumenarium_editor_geometry.h": "c",
"question_3.h": "c",
"question_14.h": "c",
"incenter_user_space.h": "c"
},
"C_Cpp.errorSquiggles": "Disabled"
}

44
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,44 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"windows": {
"command": "git-bash ./build/build.sh",
"args": ["debug", "win32", "intel" ],
},
"osx": {
"command": "./build/build.sh",
"args": ["debug", "osx", "arm64", ],
//"args": ["debug", "osx", "intel", ],
},
"linux": {
"command": "./build/build.sh",
"args": ["debug", "raspi", "intel" ],
},
"presentation": {
"echo": true,
"reveal": "always",
"panel": "shared"
},
"problemMatcher": {
"owner": "cpp",
"fileLocation": [
"relative",
"${workspaceRoot}"
],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
}
]
}