]> OCCT Git - occt-copy.git/commitdiff
Update of environment files for compilation in batch mode.
authorbugmaster <bugmaster@opencascade.com>
Thu, 18 Jul 2013 08:11:50 +0000 (12:11 +0400)
committerbugmaster <bugmaster@opencascade.com>
Thu, 18 Jul 2013 08:11:50 +0000 (12:11 +0400)
samples/mfc/standard/env.bat
samples/mfc/standard/msvc.bat
samples/mfc/standard/run.bat

index 068dcacf8e268da9a0b81812d76f49d8400616af..f7439857574b57ca94c2524a7b83e163188e89da 100644 (file)
@@ -1,3 +1,4 @@
+call "%~dp0..\..\..\env.bat" %1 %2 %3
 
 set "BIN_DIR=win%ARCH%\%VCVER%\bind"
 set "LIB_DIR=win%ARCH%\%VCVER%\libd"
index 56c35e2f6ab1d5f65b93fcb615a4c506dc1d3fd0..055b9570100a99a9fbe3aa30dc0d1b1d2c8f506e 100644 (file)
@@ -1,6 +1,4 @@
-call "%~dp0..\..\..\env.bat" %1 %2 %3
-
-call "%~dp0env.bat"
+call "%~dp0env.bat" %1 %2 %3
 
 if ["%CASDEB%"] == [""] (
   call "%~dp0..\..\..\msvc.bat" %VCVER% win%ARCH% "" "%~dp0All-%VCVER%.sln"
index afbacf58847b196ff97ed47fbd740378528d1abf..ce62be6c34a0efd64d18b887c8abf4881c101481 100644 (file)
@@ -7,8 +7,7 @@ if ["%4"] == [""] (
   exit /B
 )
 
-call "%~dp0..\..\..\env.bat" %1 %2 %3
-call "%~dp0env.bat"
+call "%~dp0env.bat" %1 %2 %3
 
 if not exist "%~dp0%BIN_DIR%\%4.exe" goto err_exe