.gitignore: .vscode/settings.json & .vscode/launch.json
This is per-user data and can easily contain paths to directories outside of the project.
Also remove .vscode/launch.json.
Change-Id: Iefedc52ec8446d4b6de5e6026761359ac9ac1a0f
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/28069
Presubmit-Ready: Ben Clayton <bclayton@google.com>
Tested-by: Ben Clayton <bclayton@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
diff --git a/.gitignore b/.gitignore
index 6362020..20a8cc2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,10 @@
.vscode/ipch
CMakeFiles/
+# Per user vscode config files.
+.vscode/launch.json
+.vscode/settings.json
+
# The /build/ directory is recommended for CMake build output and should be
# ignored, except for Visual Studio project files that we check into the
# repository and regenerate with build/cmake.sh
diff --git a/.vscode/launch.json b/.vscode/launch.json
deleted file mode 100644
index c184044..0000000
--- a/.vscode/launch.json
+++ /dev/null
@@ -1,175 +0,0 @@
-{
- "version": "0.2.0",
- "configurations": [
- {
- "name": "Gnome",
- "type": "cppdbg",
- "request": "launch",
- "preLaunchTask": "make",
- "program": "${workspaceRoot}/debug/OGLESIntroducingPVRApi",
- "args": ["LD_LIBRARY_PATH=./"],
- "stopAtEntry": false,
- "cwd": "${workspaceRoot}/debug/",
- "environment": [],
- "externalConsole": true,
- "linux": {
- "MIMode": "gdb",
- "setupCommands": [
- {
- "description": "Enable pretty-printing for gdb",
- "text": "-enable-pretty-printing",
- "ignoreFailures": true
- }
- ]
- },
- "osx": {
- "MIMode": "lldb"
- },
- "windows": {
- "MIMode": "gdb",
- "setupCommands": [
- {
- "description": "Enable pretty-printing for gdb",
- "text": "-enable-pretty-printing",
- "ignoreFailures": true
- }
- ]
- }
- },
- {
- "name": "Glass",
- "type": "cppdbg",
- "request": "launch",
- "preLaunchTask": "make",
- "program": "${workspaceRoot}/debug/OGLESGlass",
- "args": ["LD_LIBRARY_PATH=./"],
- "stopAtEntry": false,
- "cwd": "${workspaceRoot}/debug/",
- "environment": [],
- "externalConsole": true,
- "linux": {
- "MIMode": "gdb",
- "setupCommands": [
- {
- "description": "Enable pretty-printing for gdb",
- "text": "-enable-pretty-printing",
- "ignoreFailures": true
- }
- ]
- },
- "osx": {
- "MIMode": "lldb"
- },
- "windows": {
- "MIMode": "gdb",
- "setupCommands": [
- {
- "description": "Enable pretty-printing for gdb",
- "text": "-enable-pretty-printing",
- "ignoreFailures": true
- }
- ]
- }
- },
- {
- "name": "SubzeroTest",
- "type": "cppdbg",
- "request": "launch",
- "preLaunchTask": "make",
- "program": "${workspaceRoot}/debug/SubzeroTest",
- "args": [],
- "stopAtEntry": false,
- "cwd": "${workspaceRoot}",
- "environment": [],
- "externalConsole": true,
- "linux": {
- "MIMode": "gdb",
- "setupCommands": [
- {
- "description": "Enable pretty-printing for gdb",
- "text": "-enable-pretty-printing",
- "ignoreFailures": true
- }
- ]
- },
- "osx": {
- "MIMode": "lldb"
- },
- "windows": {
- "MIMode": "gdb",
- "setupCommands": [
- {
- "description": "Enable pretty-printing for gdb",
- "text": "-enable-pretty-printing",
- "ignoreFailures": true
- }
- ]
- }
- },
- {
- "name": "OGLES2HelloAPI",
- "type": "cppdbg",
- "request": "launch",
- "preLaunchTask": "make",
- "program": "${workspaceRoot}/debug/OGLES2HelloAPI",
- "args": [],
- "stopAtEntry": false,
- "cwd": "${workspaceRoot}",
- "environment": [],
- "externalConsole": true,
- "linux": {
- "MIMode": "gdb",
- "setupCommands": [
- {
- "description": "Enable pretty-printing for gdb",
- "text": "-enable-pretty-printing",
- "ignoreFailures": true
- }
- ]
- },
- "osx": {
- "MIMode": "lldb"
- },
- "windows": {
- "MIMode": "gdb",
- "setupCommands": [
- {
- "description": "Enable pretty-printing for gdb",
- "text": "-enable-pretty-printing",
- "ignoreFailures": true
- }
- ]
- }
- },
- {
- "name": "C++ Attach",
- "type": "cppdbg",
- "request": "attach",
- "program": "enter program name, for example ${workspaceRoot}/a.out",
- "processId": "${command:pickProcess}",
- "linux": {
- "MIMode": "gdb",
- "setupCommands": [
- {
- "description": "Enable pretty-printing for gdb",
- "text": "-enable-pretty-printing",
- "ignoreFailures": true
- }
- ]
- },
- "osx": {
- "MIMode": "lldb"
- },
- "windows": {
- "MIMode": "gdb",
- "setupCommands": [
- {
- "description": "Enable pretty-printing for gdb",
- "text": "-enable-pretty-printing",
- "ignoreFailures": true
- }
- ]
- }
- }
- ]
-}
\ No newline at end of file