MCPcopy Create free account
hub / github.com/celer-pkg/celer / CheckTools

Method CheckTools

buildsystems/build_makefiles.go:34–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func (m *makefiles) CheckTools() []string {
35 // Start with build_tools from port.toml
36 tools := slices.Clone(m.BuildConfig.BuildTools)
37
38 // Add build tools dynamically.
39 tools = append(tools, "cmake")
40 if runtime.GOOS == "windows" {
41 configureWithPerl := m.shouldConfigureWithPerl()
42 tool := expr.If(configureWithPerl, "strawberry-perl", "msys2")
43 tools = append(tools, tool)
44 }
45
46 return tools
47}
48
49func (m *makefiles) preConfigure() error {
50 toolchain := m.Ctx.Platform().GetToolchain()

Callers

nothing calls this directly

Calls 3

IfFunction · 0.92
CloneMethod · 0.65

Tested by

no test coverage detected