scripts/plugins.bat.Empty plugin template. This will download the plugin’s template.plugins\myplugin. Rename it to whatever you want. As our example, we rename it to remote.
The plugin’s name is its directory name. There is no project name to set in premake5.lua.LUMIX_PLUGIN_ENTRY in plugins\remote\src\myplugin.cpp to match the plugin’s name:
- LUMIX_PLUGIN_ENTRY(myplugin)
+ LUMIX_PLUGIN_ENTRY(remote)
You can rename myplugin.cpp, but it does not need to match the plugin’s name.
LUMIX_STUDIO_ENTRY in plugins\remote\src\editor\plugins.cpp to match the plugin’s name:
- LUMIX_STUDIO_ENTRY(myplugin)
+ LUMIX_STUDIO_ENTRY(remote)
You can rename myplugin.cpp, but it does not need to match the plugin’s name.
scripts\premake5.exe vs2022 from the repository root.myplugin; update them as needed.