Getting started
In this section, we’ll see how to create a simple plugin, compile it and use it in DataMorph.
The file structure
Each plugin has its own isolated folder, which can be found in <DataMorph root>/plugins. A plugin must necessarily have a plugin.yml file containing all general information to know on the plugin. If you wish to know more about how plugins work, take a look at how plugins work
Mettre en place l’environnement
DataMorph relies a lot on CMake, so any plugin developer will need to install it. Once this is done, it is heavily recommended to fork the official model here : https://github.com/DataMorph-org/DM-PluginTemplate. You can choose to directly create a new plugin repository by going into this template repository and clicking the “Use this template” button. Alternatively, you can choose to locally get this repository by using this command :
git clone https://github.com/DataMorph-org/DM-PluginTemplate.gitOnce this step is done, you can already begin analysing files to discover how they work and what’s their purpose, or you can compile the plugin.