Skip to content
Snippets Groups Projects
Commit 16dc7bcf authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Add plugin loading mechanism

Plugins are loaded through environment variables. Two environment
variables are read: PUGS_PLUGIN and PUGS_PLUGIN_DIR

- PUGS_PLUGIN is a string literal that contains the filename of the
dynamic library that contains plugins. One can provide multiple
filename using semicolumn separators.
  ex. PUGS_PLUGIN="/path/to/my/libplugin1.so;/anotherpath/to/another/libplugin2.so"

- PUGS_PLUGIN_DIR is a string literal that contains directory path
where plugins (dynamic libraries) are.  One can provide multiple path
using semicolumn separators. All the dynamic libraries present at the
locations are loaded!
  ex. PUGS_PLUGIN="/path/to/a/plugin/list/;/anotherpath/to/another/plugin/list/"
parent f096d4c3
Branches
No related tags found
1 merge request!200Change strategy for modules registration to the ModuleRepository
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment