Holds include and library paths for a system toolchain, used to let plugins link to libc and libc++. More...
#include <Plugin.h>
Static Public Member Functions | |
static Result | findBestSysroot (PluginCompiler::Type compiler, PluginSysroot &sysroot) |
Finds a reasonable sysroot for the given compiler. More... | |
Public Attributes | |
SmallVector< StringNative< 256 >, 8 > | includePaths |
Path to system include directories. More... | |
SmallVector< StringNative< 256 >, 8 > | libraryPaths |
Path to system library directories. More... | |
StringNative< 256 > | isysroot |
Path to sysroot include (optional) More... | |
Holds include and library paths for a system toolchain, used to let plugins link to libc and libc++.
|
static |
Finds a reasonable sysroot for the given compiler.
compiler | The PluginCompiler::Type to constrain the compatible PluginSysroot to look for | |
[out] | sysroot | The PluginSysroot with filled in include and library path |
SmallVector<StringNative<256>, 8> SC::PluginSysroot::includePaths |
Path to system include directories.
StringNative<256> SC::PluginSysroot::isysroot |
Path to sysroot include (optional)
SmallVector<StringNative<256>, 8> SC::PluginSysroot::libraryPaths |
Path to system library directories.