-
- Downloads
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
Showing
- CMakeLists.txt 11 additions, 7 deletionsCMakeLists.txt
- src/language/modules/ModuleRepository.cpp 21 additions, 0 deletionssrc/language/modules/ModuleRepository.cpp
- src/language/modules/ModuleRepository.hpp 5 additions, 6 deletionssrc/language/modules/ModuleRepository.hpp
- src/main.cpp 7 additions, 0 deletionssrc/main.cpp
- src/utils/CMakeLists.txt 1 addition, 0 deletionssrc/utils/CMakeLists.txt
- src/utils/PluginsLoader.cpp 96 additions, 0 deletionssrc/utils/PluginsLoader.cpp
- src/utils/PluginsLoader.hpp 23 additions, 0 deletionssrc/utils/PluginsLoader.hpp
Loading
Please register or sign in to comment