cmake

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package cmake handles interaction with the CMake Command Line Interface. CMake is used internally by C3PM to manage the build and installation phases of using a C3PM project.

More information about what the CMake CLI does can be found on CMake's website: https://cmake.org/cmake/help/latest/manual/cmake.1.html

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(buildDir string, target string) error

cmakeBuild runs the CMake CLI to build a C3PM project

See CMake's documentation for more information: https://cmake.org/cmake/help/latest/manual/cmake.1.html#build-a-project

func GenerateBuildFiles

func GenerateBuildFiles(sourceDir, buildDir string, variables map[string]string) error

cmakeGenerateBuildFiles runs the cmake CLI to generate CMake build files. C3PM uses CMake's -S option for setting the source directory, the -B option for the build directory, and the -D option for setting build variables.

See CMake's documentation for more information: https://cmake.org/cmake/help/latest/manual/cmake.1.html#generate-a-project-buildsystem

Types

This section is empty.

Jump to

Keyboard shortcuts

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