build: share cached objects between build directories and worktrees (#15573)

This commit is contained in:
Kris Austin
2026-09-07 15:54:54 -05:00
committed by GitHub
parent 9b1e141aa9
commit 40ce930e18
3 changed files with 23 additions and 2 deletions

View File

@@ -699,7 +699,8 @@ if "%build_slicer%" == "ON" (
)
if not "!cache_args!" == "" (
set "slicer_args=!slicer_args! !cache_args!"
REM Relative debug paths as well, so another tree can reuse the objects.
set "slicer_args=!slicer_args! !cache_args! -DSLIC3R_RELATIVE_DEBUG_PATHS=ON"
)
REM Configuring against a tree that was never built fails deep inside