distutils or external build processes can find them.
\r
set cmd=devenv pcbuild.sln %build% "%conf%|%platf%"\r
echo %cmd%\r
-%cmd%
\ No newline at end of file
+%cmd%\r
+\r
+rem Copy whatever was built to the canonical 'PCBuild' directory.\r
+rem This helps extensions which use distutils etc.\r
+rem (Don't check if the build was successful - we expect a few failures\r
+rem due to missing libs)\r
+echo Copying built files to ..\PCBuild\r
+if not exist %platf%%conf%\. (echo %platf%%conf% does not exist - nothing copied & goto xit)\r
+if not exist ..\PCBuild\. (echo ..\PCBuild does not exist - nothing copied & goto xit)\r
+xcopy /q/y %platf%%conf%\* ..\PCBuild\.\r
+\r
+:xit\r