Skip to content

Commit

Permalink
copy built files to the PCBuild directory, where tools like
Browse files Browse the repository at this point in the history
distutils or external build processes can find them.
  • Loading branch information
mhammond committed Jul 4, 2007
1 parent 152ff5f commit e811192
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion PCbuild8/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e811192

Please sign in to comment.