genconfig

package
v0.0.0-...-6354410 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactType

type ArtifactType uint
const (
	Library ArtifactType = iota
	Executable
)

func (ArtifactType) String

func (e ArtifactType) String() string

type GenConfig

type GenConfig struct {
	CmakeGenVersion string
	Name            string
	ArtifactType    string `toml:"artifact_type"`
	SourceDirs      []string
	Dependencies    []string
	Defines         map[string]string `toml:"defines"`
}

func ReadGenConfigFromFilename

func ReadGenConfigFromFilename(filename string) (*GenConfig, error)

func ReadGenConfigFromReader

func ReadGenConfigFromReader(reader io.Reader) (*GenConfig, error)

Jump to

Keyboard shortcuts

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