Sfoglia il codice sorgente

tools/msvc: fix batch files

Nathalie Furmento 12 anni fa
parent
commit
abc2e4aa93
2 ha cambiato i file con 7 aggiunte e 5 eliminazioni
  1. 2 1
      tools/msvc/starpu_clean.bat
  2. 5 4
      tools/msvc/starpu_exec.bat

+ 2 - 1
tools/msvc/starpu_clean.bat

@@ -1,3 +1,5 @@
+@ECHO OFF
+
 REM StarPU --- Runtime system for heterogeneous multicore architectures.
 REM
 REM Copyright (C) 2013  Centre National de la Recherche Scientifique
@@ -13,7 +15,6 @@ REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 REM
 REM See the GNU Lesser General Public License in COPYING.LGPL for more details.
 
-@ECHO OFF
 TITLE MSVC StarPU Cleaning
 ECHO.
 ECHO MSVC StarPU Cleaning

+ 5 - 4
tools/msvc/starpu_exec.bat

@@ -1,3 +1,5 @@
+@ECHO OFF
+
 REM StarPU --- Runtime system for heterogeneous multicore architectures.
 REM
 REM Copyright (C) 2013  Centre National de la Recherche Scientifique
@@ -13,7 +15,6 @@ REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 REM
 REM See the GNU Lesser General Public License in COPYING.LGPL for more details.
 
-@ECHO OFF
 TITLE MSVC StarPU Execution
 ECHO.
 ECHO MSVC StarPU Execution
@@ -26,9 +27,9 @@ IF NOT EXIST %STARPUPATH%\AUTHORS GOTO starpunotfound
 
 COPY %1 starpu\starpu_appli.c
 FOR %%F IN (%STARPUPATH%\bin\*dll) DO COPY %%F starpu\%%~nF
-COPY /cygdrive/c/MinGW/bin/pthreadGC2.dll starpu
-RMDIR /S /Q Debug
-RMDIR /S /Q starpu\Debug
+COPY c:\MinGW\bin\pthreadGC2.dll starpu
+IF EXIST Debug RMDIR /S /Q Debug
+IF EXIST starpu\Debug RMDIR /S /Q starpu\Debug
 
 "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\VCExpress.exe" starpu.sln