-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Pamplejuce and add linux and windows configurations in launch.…
…json (#43)
- Loading branch information
1 parent
0d2a327
commit 6c185ce
Showing
10 changed files
with
86 additions
and
32 deletions.
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
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 |
---|---|---|
@@ -1,17 +1,43 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "(lldb) Launch", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/Builds/ProPhat_artefacts/Debug/Standalone/ProPhat.app", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"externalConsole": false, | ||
"MIMode": "lldb" | ||
} | ||
] | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "(gdb) Launch - Linux", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/Builds/ProPhat_artefacts/Debug/Standalone/ProPhat", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"externalConsole": false, | ||
"MIMode": "gdb", | ||
"miDebuggerPath": "/usr/bin/gdb" | ||
}, | ||
{ | ||
"name": "(lldb) Launch", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/Builds/ProPhat_artefacts/Debug/Standalone/ProPhat.app", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"externalConsole": false, | ||
"MIMode": "lldb" | ||
}, | ||
{ | ||
"name": "(gdb) Launch - Windows", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceFolder}\\Builds\\ProPhat_artefacts\\Debug\\Standalone\\ProPhat.exe", | ||
"args": [], | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceFolder}", | ||
"environment": [], | ||
"externalConsole": false, | ||
"MIMode": "gdb", | ||
"miDebuggerPath": "C:\\path\\to\\gdb.exe" | ||
} | ||
] | ||
} |
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
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
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,17 @@ | ||
// All test files are included in the executable via the Glob in CMakeLists.txt | ||
|
||
#include "juce_gui_basics/juce_gui_basics.h" | ||
#include <catch2/catch_session.hpp> | ||
|
||
int main (int argc, char* argv[]) | ||
{ | ||
// This lets us use JUCE's MessageManager without leaking. | ||
// PluginProcessor might need this if you use the APVTS for example. | ||
// You'll also need it for tests that rely on juce::Graphics, juce::Timer, etc. | ||
// It's nicer DX when placed here vs. manually in Catch2 SECTIONs | ||
juce::ScopedJuceInitialiser_GUI gui; | ||
|
||
const int result = Catch::Session().run (argc, argv); | ||
|
||
return result; | ||
} |
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
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,18 @@ | ||
// All test files are included in the executable via the Glob in CMakeLists.txt | ||
|
||
#include "juce_gui_basics/juce_gui_basics.h" | ||
#include <catch2/catch_session.hpp> | ||
|
||
int main (int argc, char* argv[]) | ||
{ | ||
// This lets us use JUCE's MessageManager without leaking. | ||
// PluginProcessor might need this if you use the APVTS for example. | ||
// You'll also need it for tests that rely on juce::Graphics, juce::Timer, etc. | ||
// It's nicer DX when placed here vs. manually in Catch2 SECTIONs | ||
juce::ScopedJuceInitialiser_GUI gui; | ||
|
||
const int result = Catch::Session().run (argc, argv); | ||
|
||
return result; | ||
} | ||
#include <catch2/catch_test_macros.hpp> |
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
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