X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=genproj.bat;h=aa4296a97f3028d7bb97e37fcfb777872127a70f;hp=f931114dfcfc3c22ee4bf217183abced76134a64;hb=a3d2cb2425e9687ceb1931dcb1208cd45b779f20;hpb=72c3745808748b892f12d127fed17ccb2559c6f0 diff --git a/genproj.bat b/genproj.bat index f931114dfc..aa4296a97f 100644 --- a/genproj.bat +++ b/genproj.bat @@ -2,6 +2,9 @@ rem Helper script to run generation of VS projects on Windows. rem Running it requires that Tcl should be in the PATH +rem Optional arguments: IDE OS +rem IDE can be vc10, vc11, vc12, vc14, cbp, or xcd +rem OS can be wnt, mac, or lin SET "OLD_PATH=%PATH%" @@ -17,7 +20,7 @@ if not exist "%~dp0custom.bat" ( ) if exist "%~dp0env.bat" ( - call "%~dp0env.bat" + call "%~dp0env.bat" %1 ) rem find Tcl @@ -39,5 +42,5 @@ if not defined TCL_FOUND ( ) cd %~dp0 -%TCL_EXEC% %~dp0adm/start.tcl genproj -path=. -target=%VCVER% +%TCL_EXEC% %~dp0adm/start.tcl genproj %VCVER% %2 %3 %4 %5 SET "PATH=%OLD_PATH%"