summaryrefslogtreecommitdiffstats
path: root/windows/install_dll.BAT
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2007-08-16 18:28:20 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2007-08-16 18:28:20 (GMT)
commit2ab6b11aafaab9b09ba96781b19463e262990052 (patch)
tree67532b34fdfe944f8da2b7109af3be7b965ad049 /windows/install_dll.BAT
parent92bdaa7d0f11564a523a86b6cb170d43842ff6ef (diff)
downloadhdf5-2ab6b11aafaab9b09ba96781b19463e262990052.zip
hdf5-2ab6b11aafaab9b09ba96781b19463e262990052.tar.gz
hdf5-2ab6b11aafaab9b09ba96781b19463e262990052.tar.bz2
[svn-r14093] Purpose: Convert Windows projects to VS2005 format and support 64-bit Fortran
Description: This checkin is another Windows project cleanup, and also extends our Windows support for 64-bit Fortran. Project files are now in VS2005 format, rather than VS.NET. A couple projects have been renamed to be more descriptive (*cstub rather than *_lib), and project settings make better use of build macros. This will make them much easier to update in the future. Tested: VS2005 on WinXP 32-bit VS2005 on WinXP x64
Diffstat (limited to 'windows/install_dll.BAT')
-rwxr-xr-xwindows/install_dll.BAT46
1 files changed, 27 insertions, 19 deletions
diff --git a/windows/install_dll.BAT b/windows/install_dll.BAT
index d7b6b76..de46271 100755
--- a/windows/install_dll.BAT
+++ b/windows/install_dll.BAT
@@ -1,26 +1,34 @@
-@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 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: install_dll.bat
-@REM This batch file is used to copy HDF5 c library DLLs into system folder.
-@REM By Xuan Bai
-@REM Created: Aug. 12, 2004
-@REM Last Updated: Aug. 16, 2004
+@rem File name: install_dll.bat
+@rem This batch file is used to copy HDF5 c library DLLs into system folder.
+@rem By Xuan Bai
+@rem Created: Aug. 12, 2004
+@rem Last Updated: Aug. 16, 2004
@ ECHO OFF
copy proj\hdf5dll\debug\hdf5ddll.dll %SystemRoot%\system >temp.txt
copy proj\hdf5dll\release\hdf5dll.dll %SystemRoot%\system >temp.txt
-copy test\libtestD\debug\libtestDd.dll %SystemRoot%\system >temp.txt
-copy test\libtestD\release\libtestD.dll %SystemRoot%\system >temp.txt
+
+rem We need this conditional because vs6 uses libtestD rather than libtestdll,
+rem Remove later when we fix the VS6 project name.
+if exist copy test\libtestdll\debug\libtestddll.dll (
+ copy test\libtestdll\debug\libtestddll.dll %SystemRoot%\system >temp.txt
+ copy test\libtestdll\release\libtestdll.dll %SystemRoot%\system >temp.txt
+) else (
+ copy test\libtestD\debug\libtestDd.dll %SystemRoot%\system >temp.txt
+ copy test\libtestD\release\libtestD.dll %SystemRoot%\system >temp.txt
+)
del temp.txt