Function boost_plugin_loader::decorate
Defined in File utils.h
Function Documentation
-
std::string boost_plugin_loader::decorate(const std::string &library_name, const std::string &library_directory = "")
Give library name without prefix and suffix it will return the library name with the prefix and suffix.
For instance, for a library_name like “boost” it returns :
path/to/libboost.so on posix platforms
path/to/libboost.dylib on OSX
path/to/boost.dll on Windows
- Todo:
When support is dropped for 18.04 switch to using boost::dll::shared_library::decorate
- Parameters:
library_name – The library name without prefix and suffix
library_directory – The library directory, if empty it just returns the decorated library name
- Returns:
The library name or path with prefix and suffix