()
| 32 | } |
| 33 | |
| 34 | func (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 | |
| 49 | func (m *makefiles) preConfigure() error { |
| 50 | toolchain := m.Ctx.Platform().GetToolchain() |
nothing calls this directly
no test coverage detected