[PHP-CVS] cvs: php-internals-win /script phpsdk_buildtree.bat

2008-08-24 Thread Pierre-Alain Joye
pajoye  Sun Aug 24 11:21:02 2008 UTC

  Modified files:  
/php-internals-win/script   phpsdk_buildtree.bat 
  Log:
  - create the tree in the given directory
  
http://cvs.php.net/viewvc.cgi/php-internals-win/script/phpsdk_buildtree.bat?r1=1.1r2=1.2diff_format=u
Index: php-internals-win/script/phpsdk_buildtree.bat
diff -u php-internals-win/script/phpsdk_buildtree.bat:1.1 
php-internals-win/script/phpsdk_buildtree.bat:1.2
--- php-internals-win/script/phpsdk_buildtree.bat:1.1   Tue Jul 29 13:38:00 2008
+++ php-internals-win/script/phpsdk_buildtree.bat   Sun Aug 24 11:21:02 2008
@@ -1,19 +1,24 @@
 @echo off
 IF %1 EQU  GOTO Help
 
-IF %2 NEQSET _=%2
-IF %2 EQUSET _=%CD%
+IF %2 NEQSET _=%2\%1
+IF %2 EQUSET _=%CD%\%1
 
+MD %_%\vc6\x86\deps\bin
 MD %_%\vc6\x86\deps\lib
 MD %_%\vc6\x86\deps\include
 
+MD %_%\vc8\x86\deps\bin
 MD %_%\vc8\x86\deps\lib
 MD %_%\vc8\x86\deps\include
+MD %_%\vc8\x64\deps\bin
 MD %_%\vc8\x64\deps\lib
 MD %_%\vc8\x64\deps\include
 
+MD %_%\vc9\x86\deps\bin
 MD %_%\vc9\x86\deps\lib
 MD %_%\vc9\x86\deps\include
+MD %_%\vc9\x64\deps\bin
 MD %_%\vc9\x64\deps\lib
 MD %_%\vc9\x64\deps\include
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-internals-win /script phpsdk_buildtree.bat phpsdk_setvars.bat

2008-07-29 Thread Pierre-Alain Joye
pajoye  Tue Jul 29 13:38:00 2008 UTC

  Added files: 
/php-internals-win/script   phpsdk_buildtree.bat phpsdk_setvars.bat 
  Log:
  - add some batch helper to create a basic SDK structure
  

http://cvs.php.net/viewvc.cgi/php-internals-win/script/phpsdk_buildtree.bat?view=markuprev=1.1
Index: php-internals-win/script/phpsdk_buildtree.bat
+++ php-internals-win/script/phpsdk_buildtree.bat
@echo off
IF %1 EQU  GOTO Help

IF %2 NEQSET _=%2
IF %2 EQUSET _=%CD%

MD %_%\vc6\x86\deps\lib
MD %_%\vc6\x86\deps\include

MD %_%\vc8\x86\deps\lib
MD %_%\vc8\x86\deps\include
MD %_%\vc8\x64\deps\lib
MD %_%\vc8\x64\deps\include

MD %_%\vc9\x86\deps\lib
MD %_%\vc9\x86\deps\include
MD %_%\vc9\x64\deps\lib
MD %_%\vc9\x64\deps\include

GOTO EXIT

:help
echo createbuildtree ^nameofthetree^ [PATH]
echo  Create the common directory structure used by the PHP SDK

:EXIT

http://cvs.php.net/viewvc.cgi/php-internals-win/script/phpsdk_setvars.bat?view=markuprev=1.1
Index: php-internals-win/script/phpsdk_setvars.bat
+++ php-internals-win/script/phpsdk_setvars.bat
::phpsdk.bat
@ECHO OFF
:: Add skd\bin directory to the path

SET PHP_SDK_BIN_PATH=%~dp0

SET PATH=%PATH%;%PHP_SDK_BIN_PATH%;%PHP_SDK_BIN_PATH%\..\script

:: Set BISON_SIMPLE
SET BISON_SIMPLE=%PHP_SDK_BIN_PATH%bison.simple




-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php