Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.32 KB

COMMANDS.md

File metadata and controls

45 lines (31 loc) · 1.32 KB

Speclet Commands

This document lists the steps and commands that were executed to set up the project or that can be used to build and test the project.

Install Tools

Initial build

cmake -Bbuild -DJUCE_BUILD_EXTRAS=ON -DJUCE_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE:STRING=Debug -G Ninja
cmake --build build

Build AudioPluginHost to test the plugin:

cmake.exe --build build --config Debug --target AudioPluginHost

Run Unit-Tests

From this directory start the unit test with the following command.

ctest --test-dir build/test

CTest

Create and update package-lock.cmake

As described in CPM Package-lock, package-lock.cmake can be created and updated using the following commands.

cmake -H. -Bbuild
cmake --build build --target cpm-update-package-lock 

The advantage of this approach is that there is one distinct file that contains all dependencies and versions. Renovate is used to update those dependencies automatically as configured in renovate.json.