cmake

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAvrDependencyCMakeString

func GenerateAvrDependencyCMakeString(targets map[string]*CMakeTarget, links []CMakeTargetLink) []string

This creates CMake library string that will be used to link libraries

func GenerateAvrMainCMakeLists

func GenerateAvrMainCMakeLists(appName string, appPath string, board string, port string, framework string,
	targetName string, targetPath string, flags types.TargetFlags, definitions types.TargetDefinitions) error

THis Creates the main CMakeLists.txt file for AVR app type project

Types

type CMakeTarget

type CMakeTarget struct {
	TargetName            string
	Path                  string
	Flags                 []string
	Definitions           []string
	FlagsVisibility       string
	DefinitionsVisibility string
	HeaderOnly            bool
}

CMake Target information

type CMakeTargetLink struct {
	From           string
	To             string
	LinkVisibility string
}

CMake Target Link information

Jump to

Keyboard shortcuts

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