detector

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2025 License: GPL-3.0 Imports: 24 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,
	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

Jump to

Keyboard shortcuts

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