aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vscode/launch.json326
-rw-r--r--.vscode/tasks.json75
2 files changed, 401 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..3f328c5
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,326 @@
+{
+ // 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": [
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in library 'rapier2d'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--lib",
+ "--package=rapier2d"
+ ],
+ "filter": {
+ "name": "rapier2d",
+ "kind": "lib"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in library 'rapier2d_f64'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--lib",
+ "--package=rapier2d-f64"
+ ],
+ "filter": {
+ "name": "rapier2d_f64",
+ "kind": "lib"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in library 'rapier_testbed2d'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--lib",
+ "--package=rapier_testbed2d"
+ ],
+ "filter": {
+ "name": "rapier_testbed2d",
+ "kind": "lib"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug executable 'all_examples2'",
+ "cargo": {
+ "args": [
+ "build",
+ "--bin=all_examples2",
+ "--package=rapier-examples-2d"
+ ],
+ "filter": {
+ "name": "all_examples2",
+ "kind": "bin"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in executable 'all_examples2'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--bin=all_examples2",
+ "--package=rapier-examples-2d"
+ ],
+ "filter": {
+ "name": "all_examples2",
+ "kind": "bin"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug executable 'all_benchmarks2'",
+ "cargo": {
+ "args": [
+ "build",
+ "--bin=all_benchmarks2",
+ "--package=rapier-benchmarks-2d"
+ ],
+ "filter": {
+ "name": "all_benchmarks2",
+ "kind": "bin"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in executable 'all_benchmarks2'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--bin=all_benchmarks2",
+ "--package=rapier-benchmarks-2d"
+ ],
+ "filter": {
+ "name": "all_benchmarks2",
+ "kind": "bin"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in library 'rapier3d'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--lib",
+ "--package=rapier3d"
+ ],
+ "filter": {
+ "name": "rapier3d",
+ "kind": "lib"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in library 'rapier3d_f64'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--lib",
+ "--package=rapier3d-f64"
+ ],
+ "filter": {
+ "name": "rapier3d_f64",
+ "kind": "lib"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in library 'rapier_testbed3d'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--lib",
+ "--package=rapier_testbed3d"
+ ],
+ "filter": {
+ "name": "rapier_testbed3d",
+ "kind": "lib"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug executable 'all_examples3'",
+ "cargo": {
+ "args": [
+ "build",
+ "--bin=all_examples3",
+ "--package=rapier-examples-3d"
+ ],
+ "filter": {
+ "name": "all_examples3",
+ "kind": "bin"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in executable 'all_examples3'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--bin=all_examples3",
+ "--package=rapier-examples-3d"
+ ],
+ "filter": {
+ "name": "all_examples3",
+ "kind": "bin"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Run 'all_examples3'",
+ "cargo": {
+ "args": [
+ "run",
+ "--release",
+ "--bin=all_examples3",
+ "--package=rapier-examples-3d"
+ ],
+ "filter": {
+ "name": "all_examples3",
+ "kind": "bin"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug executable 'harness_capsules3'",
+ "cargo": {
+ "args": [
+ "build",
+ "--bin=harness_capsules3",
+ "--package=rapier-examples-3d"
+ ],
+ "filter": {
+ "name": "harness_capsules3",
+ "kind": "bin"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in executable 'harness_capsules3'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--bin=harness_capsules3",
+ "--package=rapier-examples-3d"
+ ],
+ "filter": {
+ "name": "harness_capsules3",
+ "kind": "bin"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug executable 'all_benchmarks3'",
+ "cargo": {
+ "args": [
+ "build",
+ "--bin=all_benchmarks3",
+ "--package=rapier-benchmarks-3d"
+ ],
+ "filter": {
+ "name": "all_benchmarks3",
+ "kind": "bin"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ },
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Debug unit tests in executable 'all_benchmarks3'",
+ "cargo": {
+ "args": [
+ "test",
+ "--no-run",
+ "--bin=all_benchmarks3",
+ "--package=rapier-benchmarks-3d"
+ ],
+ "filter": {
+ "name": "all_benchmarks3",
+ "kind": "bin"
+ }
+ },
+ "args": [],
+ "cwd": "${workspaceFolder}"
+ }
+ ]
+} \ No newline at end of file
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 0000000..de72ffb
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,75 @@
+{
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
+ // for the documentation about the tasks.json format
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "run 3d (no-simd - release) ",
+ "type": "shell",
+ "command": "cargo",
+ "args": [
+ "run",
+ "--bin",
+ "all_examples3",
+ "--release",
+ "--features",
+ "other-backends",
+ "--",
+ "--pause"
+ ],
+ "group": "build"
+ },
+ {
+ "label": "run 3d (simd - release) ",
+ "type": "shell",
+ "command": "cargo",
+ "args": [
+ "run",
+ "--bin",
+ "all_examples3",
+ "--release",
+ "--features",
+ "simd-stable",
+ "--features",
+ "other-backends",
+ "--",
+ "--pause"
+ ],
+ "group": "build"
+ },
+ {
+ "label": "run 2d (no-simd - release) ",
+ "type": "shell",
+ "command": "cargo",
+ "args": [
+ "run",
+ "--bin",
+ "all_examples2",
+ "--release",
+ "--features",
+ "other-backends",
+ "--",
+ "--pause"
+ ],
+ "group": "build"
+ },
+ {
+ "label": "run 2d (simd - release) ",
+ "type": "shell",
+ "command": "cargo",
+ "args": [
+ "run",
+ "--bin",
+ "all_examples2",
+ "--release",
+ "--features",
+ "simd-stable",
+ "--features",
+ "other-backends",
+ "--",
+ "--pause"
+ ],
+ "group": "build"
+ }
+ ]
+} \ No newline at end of file