Skip to main content

Renaming Plugin

The plugin sample is called "Sample Plugin" by default, but you will probably want to change the name.

In these locations you have to change the name:

  • CMakeLists.txt:
    • project(<name> in PascalCase
    • add_library(<name> in kebab-case
    • target_link_options(<name> in kebab-case
  • plugin.cpp:
    • data->id = "<name>"; in camelCase. Changing this will cause old effects saved in a project file to no longer work, as the plugin ID will be used to identify the effects.
    • data->name = "<name>"; This will be the display name. No issues will happen when changing this. You can name it however you like.