diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-09-05 05:44:33 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-09-05 06:25:41 +0900 |
| commit | 5a32f8f9b2f2540495e79cb39ce4a6861553fe79 (patch) | |
| tree | 47b25144af5edead669b615f3abcc51aedd81096 /internal/rosa/cmake.go | |
| parent | 871c701fdbce4a3d43e6e8edc436a2ae93322540 (diff) | |
internal/rosa: separate native tools from libraries
This removes most redundant runtime arguments and is useful for cross-compilation.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/cmake.go')
| -rw-r--r-- | internal/rosa/cmake.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/internal/rosa/cmake.go b/internal/rosa/cmake.go index 8a67f4bc..f9e5e38c 100644 --- a/internal/rosa/cmake.go +++ b/internal/rosa/cmake.go @@ -34,14 +34,17 @@ type CMakeHelper struct { var _ Helper = new(CMakeHelper) -// extra returns the cmake handle alongside either ninja or make. -func (attr *CMakeHelper) extra() P { +// tools returns the cmake handle alongside either ninja or make. +func (attr *CMakeHelper) tools() P { if attr != nil && attr.Make { return P{_cmake, _make} } return P{_cmake, _ninja} } +// inputs is a noop. +func (*CMakeHelper) inputs() P { return nil } + // wantsChmod returns false. func (*CMakeHelper) wantsChmod() bool { return false } |
