-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add .vscode launch.json and tasks.json files
- Loading branch information
anr
committed
Feb 8, 2024
1 parent
4f209f7
commit 06764f2
Showing
3 changed files
with
67 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ | |
build/ | ||
|
||
# VS Code Files | ||
.vscode/ | ||
#.vscode/ | ||
*.code-workspace | ||
|
||
# Python | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
// 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": "TorchDrum", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/build/TorchDrum_artefacts/Debug/Standalone/TorchDrum.app/Contents/MacOS/TorchDrum", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"externalConsole": false, | ||
"osx": { | ||
"MIMode": "lldb" | ||
}, | ||
"preLaunchTask": "build-debug" | ||
}, | ||
{ | ||
"name": "AbletonDebug", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "/Applications/Ableton Live 11 Suite.app/Contents/MacOS/Live", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "/Users/jordanm/Library/Audio/Plug-Ins/VST3/TorchDrum.vst3", | ||
"environment": [], | ||
"externalConsole": false, | ||
"osx": { | ||
"MIMode": "lldb" | ||
}, | ||
"preLaunchTask": "build-debug" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "build", | ||
"type": "shell", | ||
"command": "cmake -Bbuild -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_PREFIX_PATH=/Users/jordanm/anaconda3/envs/torchdrum/lib/python3.10/site-packages/torch/share/cmake -DBUILD_TORCHDRUM_LIB=ON && cmake --build build --config Debug", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "build-debug", | ||
"type": "shell", | ||
"command": "cmake -Bbuild -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_PREFIX_PATH=/Users/jordanm/anaconda3/envs/torchdrum/lib/python3.10/site-packages/torch/share/cmake && cmake --build build --config Debug", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "build-release", | ||
"type": "shell", | ||
"command": "cmake -Bbuild -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_PREFIX_PATH=/Users/jordanm/anaconda3/envs/torchdrum/lib/python3.10/site-packages/torch/share/cmake && cmake --build build --config Release" | ||
}, | ||
{ | ||
"label": "build-release-for-signing", | ||
"type": "shell", | ||
"command": "cmake -Bbuild -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_PREFIX_PATH=/Users/jordanm/anaconda3/envs/torchdrum/lib/python3.10/site-packages/torch/share/cmake -DCOPY_PLUGIN_AFTER_BUILD=0 && cmake --build build --config Release -j12" | ||
} | ||
] | ||
|
||
} |