I have one plugin name ‘Plugin’ in Cmake and different output names for VST2/VST3 plugins.
So, after compilation I have two files:
- Plugin VST.dll
- Plugin VST3.vst3
But inside both plugins, the internal name is ‘Plugin’.
- Next, macOS 11 (Studio One) & Win 10 (Cubase 11, Studio One 5) starts to enumerate both plugins (VST2/VST3) only VST3 plugin appears.
- Let’s remember the name by which VST3 plugin is shown in the DAW
- Delete the VST3 plugin
- Reopen DAW and notice that VST2 plugin appears under the same name as VST3 plugin before it
Is it possible to make the plugin product name is unique?
Small clarification from CMake
juce_add_plugin(${TARGET_NAME}
PRODUCT_NAME "Plugin"
...
if(TARGET ${TARGET_NAME}_VST)
set_target_properties(${TARGET_NAME}_VST PROPERTIES OUTPUT_NAME "Plugin VST")
endif()
if(TARGET ${TARGET_NAME}_VST3)
set_target_properties(${TARGET_NAME}_VST3 PROPERTIES OUTPUT_NAME "Plugin VST3" SUFFIX .vst3)
endif()
Is it possible to setup the plugin name per target?
set_target_properties(${TARGET_NAME}_VST3 PROPERTIES JUCE_PLUGIN_NAME "Plugin VST3")
