New source files go in /source
.
All .h
and .cpp
files in that directory will be available to include in your plugin target and your tests.
Tests go in /tests
.
Just add .cpp files there and they will be available in the Tests target.
IDE FILE MANAGEMENT
If you use an overeager, CMake-aware IDE (like CLion) it might prompt you to manually add files to a CMake target. This is not needed.
How to work with PluginProcessor and PluginEditor
I recommend not stuffing everything into the boilerplate PluginEditor/PluginProcessor files.
Sure, go ahead make a mess at first. But then clean them up and just include your sources from there.
Leave a Reply