Documentation
¶
Index ¶
- func IncludesFinderWithRegExp(source string) string
- func LibrariesLoader(useCachedLibrariesResolution bool, ...) (*librariesmanager.LibrariesManager, *librariesresolver.Cpp, []byte, error)
- type SketchLibrariesDetector
- func (l *SketchLibrariesDetector) FindIncludes(ctx context.Context, buildPath *paths.Path, buildCorePath *paths.Path, ...) error
- func (l *SketchLibrariesDetector) ImportedLibraries() libraries.List
- func (l *SketchLibrariesDetector) IncludeFolders() paths.PathList
- func (l *SketchLibrariesDetector) IncludeFoldersChanged() bool
- func (l *SketchLibrariesDetector) PrintUsedAndNotUsedLibraries(sketchError bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncludesFinderWithRegExp ¶
IncludesFinderWithRegExp fixdoc
func LibrariesLoader ¶
func LibrariesLoader( useCachedLibrariesResolution bool, librariesManager *librariesmanager.LibrariesManager, builtInLibrariesDir *paths.Path, customLibraryDirs paths.PathList, librariesDirs paths.PathList, buildPlatform *cores.PlatformRelease, targetPlatform *cores.PlatformRelease, ) (*librariesmanager.LibrariesManager, *librariesresolver.Cpp, []byte, error)
LibrariesLoader todo
Types ¶
type SketchLibrariesDetector ¶
type SketchLibrariesDetector struct {
// contains filtered or unexported fields
}
SketchLibrariesDetector todo
func NewSketchLibrariesDetector ¶
func NewSketchLibrariesDetector( lm *librariesmanager.LibrariesManager, libsResolver *librariesresolver.Cpp, useCachedLibrariesResolution bool, onlyUpdateCompilationDatabase bool, logger *logger.BuilderLogger, diagnosticStore *diagnostics.Store, ) *SketchLibrariesDetector
NewSketchLibrariesDetector todo
func (*SketchLibrariesDetector) FindIncludes ¶
func (l *SketchLibrariesDetector) FindIncludes( ctx context.Context, buildPath *paths.Path, buildCorePath *paths.Path, buildVariantPath *paths.Path, sketchBuildPath *paths.Path, sketch *sketch.Sketch, librariesBuildPath *paths.Path, buildProperties *properties.Map, platformArch string, jobs int, ) error
FindIncludes todo
func (*SketchLibrariesDetector) ImportedLibraries ¶
func (l *SketchLibrariesDetector) ImportedLibraries() libraries.List
ImportedLibraries todo
func (*SketchLibrariesDetector) IncludeFolders ¶
func (l *SketchLibrariesDetector) IncludeFolders() paths.PathList
IncludeFolders returns the list of include folders detected as needed.
func (*SketchLibrariesDetector) IncludeFoldersChanged ¶ added in v1.3.0
func (l *SketchLibrariesDetector) IncludeFoldersChanged() bool
IncludeFoldersChanged returns true if the include folders list changed from the previous compile.
func (*SketchLibrariesDetector) PrintUsedAndNotUsedLibraries ¶
func (l *SketchLibrariesDetector) PrintUsedAndNotUsedLibraries(sketchError bool)
PrintUsedAndNotUsedLibraries todo
Click to show internal directories.
Click to hide internal directories.