I am migrating one of my plugins from Projucer to CMake.
I’ve finally gotten it to build, but it appears as a separate plugin in the host (I have both versions in different directories for the very purpose of detecting this)
Upon closer inspection of moduleinfo.json, it turns out that the builds have different CID’s!
How do I get the Cmake build to use the same CID as the Projucer build?
The main option that’s likely to affect the class ID is JUCE_VST3_CAN_REPLACE_VST2. In the plugin example, this is set to 0. If unspecified, this flag will default to 1. I recommend checking your Projucer project to see which value is used there. Then, make sure to use the same value in the CMake project.