-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,24 @@ cmake -B Builds/Debug -DCMAKE_BUILD_TYPE=Debug . # configure | |
cmake --build Builds/Debug --config Debug # build | ||
``` | ||
|
||
### Including within an existing JUCE project | ||
|
||
Instead of running as a separate app, you can add pluginval as a CMake target to your existing plugin project. This not only makes for a convenient debugging workflow, it gives you better stack traces. | ||
|
||
For example, if you add pluginval as a git submodule like so: | ||
``` | ||
git submodule add -b develop [email protected]:Tracktion/pluginval.git modules/pluginval | ||
``` | ||
|
||
or added with CPM like so: | ||
|
||
``` | ||
CPMAddPackage("gh:tracktion/pluginval#develop") | ||
``` | ||
|
||
Then all you need to do is call `add_subdirectory ("modules/pluginval")` in your `CMakeLists.txt`. This should be done **after** your call to `juce_add_plugin`. | ||
|
||
|
||
### Third-party Installation | ||
###### _Chocolatey (Windows):_ | ||
```shell | ||
|