detector

package
v0.35.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2024 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncludesFinderWithRegExp

func IncludesFinderWithRegExp(source string) string

IncludesFinderWithRegExp fixdoc

func LibrariesLoader

func LibrariesLoader(
	useCachedLibrariesResolution bool,
	librariesManager *librariesmanager.LibrariesManager,
	builtInLibrariesDirs *paths.Path, libraryDirs, otherLibrariesDirs paths.PathList,
	actualPlatform, 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,
) *SketchLibrariesDetector

NewSketchLibrariesDetector todo

func (*SketchLibrariesDetector) AppendImportedLibraries

func (l *SketchLibrariesDetector) AppendImportedLibraries(library *libraries.Library)

AppendImportedLibraries todo should rename this, probably after refactoring the container_find_includes command.

func (*SketchLibrariesDetector) FindIncludes

func (l *SketchLibrariesDetector) FindIncludes(
	buildPath *paths.Path,
	buildCorePath *paths.Path,
	buildVariantPath *paths.Path,
	sketchBuildPath *paths.Path,
	sketch *sketch.Sketch,
	librariesBuildPath *paths.Path,
	buildProperties *properties.Map,
	platformArch string,
) error

FindIncludes todo

func (*SketchLibrariesDetector) ImportedLibraries

func (l *SketchLibrariesDetector) ImportedLibraries() libraries.List

ImportedLibraries todo

func (*SketchLibrariesDetector) IncludeFolders

func (l *SketchLibrariesDetector) IncludeFolders() paths.PathList

IncludeFolders fixdoc

func (*SketchLibrariesDetector) PrintUsedAndNotUsedLibraries

func (l *SketchLibrariesDetector) PrintUsedAndNotUsedLibraries(sketchError bool)

PrintUsedAndNotUsedLibraries todo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL