feat(build): add --dist to all remaining legacy Windows build scripts
Same --dist redirect (output to <repo>/dist/<config> instead of plugins/<config>) applied to every per-version Windows script so the flag works regardless of --7zip-version/--toolset the dispatcher selects. Mirrors build_plugin_2601_vs2026.py + the Linux path. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -763,10 +763,15 @@ Examples:
|
||||
help='Visual Studio version to use (default: auto - tries 2026 then 2022)'
|
||||
)
|
||||
|
||||
parser.add_argument('--dist', action='store_true',
|
||||
help='Copy built DLLs to <repo>/dist/<config> instead of <repo>/plugins/<config>')
|
||||
args = parser.parse_args()
|
||||
|
||||
# Get project paths early for list-project
|
||||
project_dir, project_file, plugins_dir = get_project_paths()
|
||||
# --dist: redirect output root from <repo>/plugins to <repo>/dist.
|
||||
if args.dist:
|
||||
plugins_dir = plugins_dir.parent / 'dist'
|
||||
|
||||
# List project configurations
|
||||
if args.list_project:
|
||||
|
||||
Reference in New Issue
Block a user