summaryrefslogtreecommitdiffstats
path: root/windows/batch_net/convert_to_vcproj.bat
blob: e20c5094444ba7b2b0faa2aee1a333b97e67aca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
@REM Copyright by The HDF Group.
@REM Copyright by the Board of Trustees of the University of Illinois.
@REM All rights reserved.
@REM
@REM This file is part of HDF5.  The full HDF5 copyright notice, including
@REM terms governing use, modification, and redistribution, is contained in
@REM the files COPYING and Copyright.html.  COPYING can be found at the root
@REM of the source code distribution tree; Copyright.html can be found at the
@REM root level of an installed copy of the electronic HDF5 document set and
@REM is linked from the top-level documents page.  It can also be found at
@REM http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have
@REM access to either file, you may request a copy from help@hdfgroup.org.

@REM File Name: convert_to_vcproj.bat
@REM Purpose: Convert Visual C++ 6.0 project format to Visual Studio .net project format.
@REM Written By: Fang GUO
@REM Date: May 27, 2005
@REM Update: June 7, 2005

::@echo off

type nul > convert.log
echo.>>convert.log
echo This batch file will convert all .dsp files in HDF5 C,  >> convert.log
echo C++ and Fortran library to .vcproj  format >> convert.log

CScript //H:CScript //Nologo

echo.
echo. START converting files .dsp to .vcproj
echo.

for /R  %CD%\windows\ %%i in (*.vcproj) do (
del %%i
)

for /R  %CD%\windows\ %%i in (*.dsp) do (
convert.js %%i %%~pi%%~ni.vcproj >> convert.log
)

echo.
echo. END converting files .dsp to .vcproj
echo.