From e2a02005e7d4f4cbc349a1ebab553897d78c03a5 Mon Sep 17 00:00:00 2001 From: Peter Slattery Date: Mon, 24 Oct 2022 16:17:35 -0700 Subject: [PATCH] adding VSCode configuration --- .gitignore | 2 -- .vscode/launch.json | 35 +++++++++++++++++++++++++++++++ .vscode/settings.json | 48 +++++++++++++++++++++++++++++++++++++++++++ .vscode/tasks.json | 44 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 127 insertions(+), 2 deletions(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json create mode 100644 .vscode/tasks.json diff --git a/.gitignore b/.gitignore index 997187f..9b741ed 100644 --- a/.gitignore +++ b/.gitignore @@ -9,8 +9,6 @@ working_data/ nssm_log.log sysroot/ *.DS_Store -*.vscode -*.vscode/* *.dSYM run_tree/data/live_data run_tree/osx/* diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..c57bd13 --- /dev/null +++ b/.vscode/launch.json @@ -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 + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..050516a --- /dev/null +++ b/.vscode/settings.json @@ -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" +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..a4ae004 --- /dev/null +++ b/.vscode/tasks.json @@ -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 + } + } + } + ] +} \ No newline at end of file