mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
copy built files to the PCBuild directory, where tools like
distutils or external build processes can find them.
This commit is contained in:
parent
152ff5f592
commit
e81119295e
1 changed files with 12 additions and 1 deletions
|
@ -14,4 +14,15 @@ if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts
|
|||
|
||||
set cmd=devenv pcbuild.sln %build% "%conf%|%platf%"
|
||||
echo %cmd%
|
||||
%cmd%
|
||||
%cmd%
|
||||
|
||||
rem Copy whatever was built to the canonical 'PCBuild' directory.
|
||||
rem This helps extensions which use distutils etc.
|
||||
rem (Don't check if the build was successful - we expect a few failures
|
||||
rem due to missing libs)
|
||||
echo Copying built files to ..\PCBuild
|
||||
if not exist %platf%%conf%\. (echo %platf%%conf% does not exist - nothing copied & goto xit)
|
||||
if not exist ..\PCBuild\. (echo ..\PCBuild does not exist - nothing copied & goto xit)
|
||||
xcopy /q/y %platf%%conf%\* ..\PCBuild\.
|
||||
|
||||
:xit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue