fetch

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CmakeToFileOuterBuild = `` /* 422-byte string literal not displayed */

	CmakeToFileInnerBuild = `` /* 584-byte string literal not displayed */

)
View Source
const PkgCMakeHeader = `##### this file is generated by pkg tool, version ` + version.VERSION +
	`
##### For more details, please address https://github.com/genshen/pkg.

# vendor path
{{if .IsProjectPkg}}
# you should change VENDOR_PATH if you moved this directory to other place.
set(VENDOR_PATH {{.ProjectVendorPath}})
{{else}}
# VENDOR_PATH is set by environment variable 'PKG_VENDOR_PATH'.
set(VENDOR_PATH $ENV{PKG_VENDOR_PATH})
{{end}}
set(PROJECT_HOME_PATH {{.ProjectHomePath}})

include_directories(${VENDOR_PATH}/include)
`

Variables

This section is empty.

Functions

func CmakeOpt added in v0.4.0

func CmakeOpt(feature string) (string, error)

set cmake option in template

Types

type PackageFetcher added in v0.3.3

type PackageFetcher interface {
	// contains filtered or unexported methods
}

type YamlFilesPkgFetcher added in v0.3.3

type YamlFilesPkgFetcher pkg.YamlFilesPackage

type YamlGitPkgFetcher added in v0.3.3

type YamlGitPkgFetcher pkg.YamlGitPackage

Jump to

Keyboard shortcuts

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