cmake

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2025 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package cmake provides basic support for reading CMake cache files.

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

This section is empty.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

func FindCache

func FindCache(path string) *Cache

FindCache finds the CMakeCache.txt file by walking up the given path, and returns a CMake Cache or nil if not found.

func (*Cache) Get

func (c *Cache) Get(name string) (string, error)

Jump to

Keyboard shortcuts

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