https://github.com/elektrobit/elos-plugins
Repository for out of source elosd plugins
https://github.com/elektrobit/elos-plugins
Last synced: 3 months ago
JSON representation
Repository for out of source elosd plugins
- Host: GitHub
- URL: https://github.com/elektrobit/elos-plugins
- Owner: Elektrobit
- License: mit
- Created: 2024-07-24T14:40:15.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-13T16:20:38.000Z (9 months ago)
- Last Synced: 2024-12-28T07:41:58.732Z (5 months ago)
- Language: Shell
- Size: 37.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Example Repository for out of source elosd plugins
## client plugin
The client plugin examples are in `clients`.
# Building all the plugin examples
## using the ci scripts
To build everything for testing the scripts in `ci` can be used.
```
ci/install_deps.py [-c depdendncies.json] --no-mocks --no-tests
```
installs the dependencies elos, samconf & safu.With the option `-G` they can be installed globally, otherwise they get installed in `build/deps/`.
```
ci/build.sh [Release|Debug]
```
Builds all the example plugins and installs them in `build//dist`.
If safu, samconf or elos where installed using `ci/install_deps.py` nothing additionally has to be done for the libraries to be found.## Using cmake and make
Install all the dependencies
- libelos
- libelosplugin
- safu
- samconf```
cmake -B build .
make -C build all
```# building a subset of plugins
Change into the folder under which you want to build all plugins.
Or if you only want one single plugin change into that folder.And run the [cmake & make](#using-cmake-and-make) build steps
# building your own plugin
To build your own plugin take the subfolder of the appropriate dummy plugin into a separate repository,
i.e. `clients/dummy` if you want to build a client plugin.
Change the name, version and update the dependencies in `CMakeLists.txt` to fit your plugin.
And add the code of your plugin to the dummy code.