From 5771fdd19862830a1949cc512ce1e4406351af33 Mon Sep 17 00:00:00 2001 From: Fang Guo Date: Tue, 22 Mar 2005 09:12:46 -0500 Subject: [svn-r10256] Purpose: For windows support, Remove all.zip from HDF5. Description: Add the fortran project file. Solution: Platforms tested: MSVS 6.0 on windows xp. Misc. update: --- .../test/libtest_fortrandll/libtest_fortrandll.dsp | 103 ++++++++++ .../testhdf5_fortrandll/testhdf5_fortrandll.dsp | 211 +++++++++++++++++++++ 2 files changed, 314 insertions(+) create mode 100755 windows/fortran/test/libtest_fortrandll/libtest_fortrandll.dsp create mode 100755 windows/fortran/test/testhdf5_fortrandll/testhdf5_fortrandll.dsp diff --git a/windows/fortran/test/libtest_fortrandll/libtest_fortrandll.dsp b/windows/fortran/test/libtest_fortrandll/libtest_fortrandll.dsp new file mode 100755 index 0000000..35ae9b0 --- /dev/null +++ b/windows/fortran/test/libtest_fortrandll/libtest_fortrandll.dsp @@ -0,0 +1,103 @@ +# Microsoft Developer Studio Project File - Name="libtest_fortrandll" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=libtest_fortrandll - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libtest_fortrandll.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libtest_fortrandll.mak" CFG="libtest_fortrandll - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libtest_fortrandll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "libtest_fortrandll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +F90=df.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libtest_fortrandll - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../../../../fortran/test/libtest_fortrandll/Release" +# PROP Intermediate_Dir "../../../../fortran/test/libtest_fortrandll/Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE F90 /compile_only /dll /nologo /warn:nofileopt +# ADD F90 /compile_only /define:"HDF5F90_WINDOWS" /define:"BUILD_HDF5_DLL" /include:"Release/" /include:"..\..\..\..\proj\hdf5_fortrandll\Release/" /dll /nologo /threads /warn:nofileopt /module:"Release/;..\..\..\..\proj\hdf5_fortrandll\Release/" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBTEST_FORTRANDLL_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\..\src" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "HDF5FORTTEST_CSTUB_USEDLL" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 + +!ELSEIF "$(CFG)" == "libtest_fortrandll - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../../../../fortran/test/libtest_fortrandll/Debug" +# PROP Intermediate_Dir "../../../../fortran/test/libtest_fortrandll/Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE F90 /check:bounds /compile_only /dbglibs /debug:full /dll /nologo /traceback /warn:argument_checking /warn:nofileopt +# ADD F90 /check:bounds /compile_only /dbglibs /debug:full /define:"HDF5F90_WINDOWS" /define:"BUILD_HDF5_DLL" /include:"Debug/" /include:"..\..\..\..\proj\hdf5_fortrandll\Debug/" /dll /nologo /threads /traceback /warn:argument_checking /warn:nofileopt /module:"Debug/;..\..\..\..\proj\hdf5_fortrandll\Debug/" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBTEST_FORTRANDLL_EXPORTS" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\..\src" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "HDF5FORTTEST_CSTUB_USEDLL" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"../../../../fortran/test/libtest_fortrandll/Debug/libtest_fortranddll.dll" /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "libtest_fortrandll - Win32 Release" +# Name "libtest_fortrandll - Win32 Debug" +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\tf.f90 +NODEP_F90_TF_F9=\ + "..\..\..\..\fortran\test\libtest_fortrandll\Debug\H5GLOBAL.mod"\ + +# End Source File +# End Target +# End Project diff --git a/windows/fortran/test/testhdf5_fortrandll/testhdf5_fortrandll.dsp b/windows/fortran/test/testhdf5_fortrandll/testhdf5_fortrandll.dsp new file mode 100755 index 0000000..28aeac8 --- /dev/null +++ b/windows/fortran/test/testhdf5_fortrandll/testhdf5_fortrandll.dsp @@ -0,0 +1,211 @@ +# Microsoft Developer Studio Project File - Name="testhdf5_fortrandll" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=testhdf5_fortrandll - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "testhdf5_fortrandll.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "testhdf5_fortrandll.mak" CFG="testhdf5_fortrandll - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "testhdf5_fortrandll - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "testhdf5_fortrandll - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +F90=df.exe +RSC=rc.exe + +!IF "$(CFG)" == "testhdf5_fortrandll - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "../../../../fortran/test/testhdf5_fortrandll/Release" +# PROP Intermediate_Dir "../../../../fortran/test/testhdf5_fortrandll/Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE F90 /compile_only /include:"Release/" /nologo /warn:nofileopt +# ADD F90 /compile_only /debug:full /define:"HDF5F90_WINDOWS" /define:"BUILD_HDF5_DLL" /include:"Release/" /include:"..\..\..\proj\hdf5_fortrandll\Release/" /libs:dll /nologo /threads /warn:nofileopt /module:"..\..\..\..\proj\hdf5_fortrandll\Release/" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\..\src" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "HDF5FORT_CSTUB_USEDLL" /YX /FD /c +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib WS2_32.lib $(HDF5_EXT_ZLIB) $(HDF5_EXT_SZIP) /nologo /subsystem:console /machine:I386 + +!ELSEIF "$(CFG)" == "testhdf5_fortrandll - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "../../../../fortran/test/testhdf5_fortrandll/Debug" +# PROP Intermediate_Dir "../../../../fortran/test/testhdf5_fortrandll/Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE F90 /check:bounds /compile_only /debug:full /include:"Debug/" /nologo /warn:argument_checking /warn:nofileopt +# ADD F90 /check:bounds /compile_only /dbglibs /debug:full /define:"HDF5F90_WINDOWS" /define:"BUILD_HDF5_DLL" /include:"Debug/" /include:"..\..\..\proj\hdf5_fortrandll\Debug/" /libs:dll /nologo /threads /warn:argument_checking /warn:nofileopt /module:"..\..\..\..\proj\hdf5_fortrandll\Debug/" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\..\..\src" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "HDF5FORT_CSTUB_USEDLL" /YX /FD /GZ /c +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib WS2_32.lib $(HDF5_EXT_ZLIB) $(HDF5_EXT_SZIP) /nologo /subsystem:console /debug /machine:I386 /nodefaultlib:"libcd.lib" /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "testhdf5_fortrandll - Win32 Release" +# Name "testhdf5_fortrandll - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;f90;for;f;fpp" +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\fortranlib_test.f90 +NODEP_F90_FORTR=\ + "..\..\..\..\fortran\test\testhdf5_fortrandll\Debug\HDF5.mod"\ + +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\tH5A.f90 +NODEP_F90_TH5A_=\ + "..\..\..\..\fortran\test\testhdf5_fortrandll\Debug\HDF5.mod"\ + +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\tH5D.f90 +NODEP_F90_TH5D_=\ + "..\..\..\..\fortran\test\testhdf5_fortrandll\Debug\HDF5.mod"\ + +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\tH5E.f90 +NODEP_F90_TH5E_=\ + "..\..\..\..\fortran\test\testhdf5_fortrandll\Debug\HDF5.mod"\ + +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\tH5F.f90 +NODEP_F90_TH5F_=\ + "..\..\..\..\fortran\test\testhdf5_fortrandll\Debug\HDF5.mod"\ + +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\tH5G.f90 +NODEP_F90_TH5G_=\ + "..\..\..\..\fortran\test\testhdf5_fortrandll\Debug\HDF5.mod"\ + +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\tH5I.f90 +NODEP_F90_TH5I_=\ + "..\..\..\..\fortran\test\testhdf5_fortrandll\Debug\HDF5.mod"\ + +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\tH5P.f90 +NODEP_F90_TH5P_=\ + "..\..\..\..\fortran\test\testhdf5_fortrandll\Debug\HDF5.mod"\ + +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\tH5R.f90 +NODEP_F90_TH5R_=\ + "..\..\..\..\fortran\test\testhdf5_fortrandll\Debug\HDF5.mod"\ + +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\tH5S.f90 +NODEP_F90_TH5S_=\ + "..\..\..\..\fortran\test\testhdf5_fortrandll\Debug\HDF5.mod"\ + +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\tH5Sselect.f90 +NODEP_F90_TH5SS=\ + "..\..\..\..\fortran\test\testhdf5_fortrandll\Debug\HDF5.mod"\ + +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\tH5T.f90 +NODEP_F90_TH5T_=\ + "..\..\..\..\fortran\test\testhdf5_fortrandll\Debug\HDF5.mod"\ + +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\tH5VL.f90 +NODEP_F90_TH5VL=\ + "..\..\..\..\fortran\test\testhdf5_fortrandll\Debug\HDF5.mod"\ + +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\fortran\test\tH5Z.f90 +DEP_F90_TH5Z_=\ + "..\..\..\..\proj\hdf5_fortrandll\Debug\HDF5.MOD"\ + + +!IF "$(CFG)" == "testhdf5_fortrandll - Win32 Release" + +!ELSEIF "$(CFG)" == "testhdf5_fortrandll - Win32 Debug" + +# ADD F90 /include:"..\..\..\..\proj\hdf5_fortrandll\Debug/" /module:"..\..\..\..\proj\hdf5_fortrandll\Debug/" +# SUBTRACT F90 /include:"..\..\..\proj\hdf5_fortrandll\Debug/" + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project -- cgit v0.12