diff options
author | Scott Wegner <swegner@hdfgroup.org> | 2008-06-02 15:36:55 (GMT) |
---|---|---|
committer | Scott Wegner <swegner@hdfgroup.org> | 2008-06-02 15:36:55 (GMT) |
commit | c65d5ffe8dd7784e6ea2da1c67dec3caf9878976 (patch) | |
tree | 5b0f6f0fe6026b0fc36bd70f37ce6469b848f2c9 /windows/proj | |
parent | ac339aa792bc16d5c06d4e1d758ff2213c5cb286 (diff) | |
download | hdf5-c65d5ffe8dd7784e6ea2da1c67dec3caf9878976.zip hdf5-c65d5ffe8dd7784e6ea2da1c67dec3caf9878976.tar.gz hdf5-c65d5ffe8dd7784e6ea2da1c67dec3caf9878976.tar.bz2 |
[svn-r15118] Purpose: Backport Windows project cleanup from trunk: remove ignored system library, standardize program debug information, and unify Windows h5tinit
Description:
These changes are made via a user's suggestion, bugzilla bug #1164. These have all been tested in the trunk, and are stable/favorable changes.
In many of our project files on Windows, we have our linker setting set to ignore old link libraries-- either libc.lib or libcd.lib. This is a relic from converting project files from old versions of Visual Studio to newer ones, and is unnecessary. We remove the ignored library from the project files. This actually makes no difference in the output binaries.
In our debug project configurations, many of the projects were generating debug information for "Program Database and Edit & Continue". Other projects were using different settings, or none at all. We standardize to use "Program Database" setting, because it generates much smaller .obj files and cuts out unnecessary debug information.
Previously, there was Windows-dependent code inside H5detect.c, because not all projects could access the gethostname() function. However, we standardize our project-files to link with WS2_32.lib, so now this function is available. Thus, the Windows-specific code has been removed from H5detect.c.
Tested:
VS2005 on WinXP
VS.NET on WinXP
Diffstat (limited to 'windows/proj')
-rw-r--r-- | windows/proj/hdf5/hdf5.vcproj | 4 | ||||
-rw-r--r-- | windows/proj/hdf5_cpp/hdf5_cpp.vcproj | 2 | ||||
-rw-r--r-- | windows/proj/hdf5_cppdll/hdf5_cppdll.vcproj | 2 | ||||
-rw-r--r-- | windows/proj/hdf5_f90cstub/hdf5_f90cstub.vcproj | 2 | ||||
-rw-r--r-- | windows/proj/hdf5_f90cstubdll/hdf5_f90cstubdll.vcproj | 2 | ||||
-rw-r--r-- | windows/proj/hdf5_hl/hdf5_hl.vcproj | 2 | ||||
-rw-r--r-- | windows/proj/hdf5_hl_cpp/hdf5_hl_cpp.vcproj | 2 | ||||
-rw-r--r-- | windows/proj/hdf5_hl_cppdll/hdf5_hl_cppdll.vcproj | 2 | ||||
-rw-r--r-- | windows/proj/hdf5_hl_f90cstubdll/hdf5_hl_f90cstubdll.vcproj | 2 | ||||
-rw-r--r-- | windows/proj/hdf5_hl_fortran/hdf5_hl_f90cstub.vcproj | 2 | ||||
-rw-r--r-- | windows/proj/hdf5_hldll/hdf5_hldll.vcproj | 2 | ||||
-rw-r--r-- | windows/proj/hdf5dll/hdf5dll.vcproj | 2 |
12 files changed, 13 insertions, 13 deletions
diff --git a/windows/proj/hdf5/hdf5.vcproj b/windows/proj/hdf5/hdf5.vcproj index 7bc9e47..6627d83 100644 --- a/windows/proj/hdf5/hdf5.vcproj +++ b/windows/proj/hdf5/hdf5.vcproj @@ -54,7 +54,7 @@ BrowseInformation="1"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="1"
+ DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@@ -125,7 +125,7 @@ BrowseInformation="1"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="1"
+ DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
diff --git a/windows/proj/hdf5_cpp/hdf5_cpp.vcproj b/windows/proj/hdf5_cpp/hdf5_cpp.vcproj index c17f93f..5d91603 100644 --- a/windows/proj/hdf5_cpp/hdf5_cpp.vcproj +++ b/windows/proj/hdf5_cpp/hdf5_cpp.vcproj @@ -206,7 +206,7 @@ ProgramDataBaseFileName=".\..\..\..\proj\hdf5_cpp\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/proj/hdf5_cppdll/hdf5_cppdll.vcproj b/windows/proj/hdf5_cppdll/hdf5_cppdll.vcproj index 05c0d0b..9b436c1 100644 --- a/windows/proj/hdf5_cppdll/hdf5_cppdll.vcproj +++ b/windows/proj/hdf5_cppdll/hdf5_cppdll.vcproj @@ -252,7 +252,7 @@ ProgramDataBaseFileName=".\../../../proj/hdf5_cppdll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/proj/hdf5_f90cstub/hdf5_f90cstub.vcproj b/windows/proj/hdf5_f90cstub/hdf5_f90cstub.vcproj index d9e9656..35e14c8 100644 --- a/windows/proj/hdf5_f90cstub/hdf5_f90cstub.vcproj +++ b/windows/proj/hdf5_f90cstub/hdf5_f90cstub.vcproj @@ -206,7 +206,7 @@ ProgramDataBaseFileName=".\..\..\..\proj\hdf5_f90cstub\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/proj/hdf5_f90cstubdll/hdf5_f90cstubdll.vcproj b/windows/proj/hdf5_f90cstubdll/hdf5_f90cstubdll.vcproj index 13741eb..b889e57 100644 --- a/windows/proj/hdf5_f90cstubdll/hdf5_f90cstubdll.vcproj +++ b/windows/proj/hdf5_f90cstubdll/hdf5_f90cstubdll.vcproj @@ -248,7 +248,7 @@ ProgramDataBaseFileName=".\../../../proj/hdf5_f90cstubdll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/proj/hdf5_hl/hdf5_hl.vcproj b/windows/proj/hdf5_hl/hdf5_hl.vcproj index f9dd1b9..66532e4 100644 --- a/windows/proj/hdf5_hl/hdf5_hl.vcproj +++ b/windows/proj/hdf5_hl/hdf5_hl.vcproj @@ -55,7 +55,7 @@ ProgramDataBaseFileName=".\..\..\..\proj\hdf5_hl\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/proj/hdf5_hl_cpp/hdf5_hl_cpp.vcproj b/windows/proj/hdf5_hl_cpp/hdf5_hl_cpp.vcproj index 1951221..4e9f3af 100644 --- a/windows/proj/hdf5_hl_cpp/hdf5_hl_cpp.vcproj +++ b/windows/proj/hdf5_hl_cpp/hdf5_hl_cpp.vcproj @@ -206,7 +206,7 @@ ProgramDataBaseFileName=".\..\..\..\proj\hdf5_hl_cpp\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/proj/hdf5_hl_cppdll/hdf5_hl_cppdll.vcproj b/windows/proj/hdf5_hl_cppdll/hdf5_hl_cppdll.vcproj index 2bdaf68..a57eb32 100644 --- a/windows/proj/hdf5_hl_cppdll/hdf5_hl_cppdll.vcproj +++ b/windows/proj/hdf5_hl_cppdll/hdf5_hl_cppdll.vcproj @@ -253,7 +253,7 @@ ProgramDataBaseFileName=".\..\..\..\proj\hdf5_hl_cppdll\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/proj/hdf5_hl_f90cstubdll/hdf5_hl_f90cstubdll.vcproj b/windows/proj/hdf5_hl_f90cstubdll/hdf5_hl_f90cstubdll.vcproj index 596f469..01f490f 100644 --- a/windows/proj/hdf5_hl_f90cstubdll/hdf5_hl_f90cstubdll.vcproj +++ b/windows/proj/hdf5_hl_f90cstubdll/hdf5_hl_f90cstubdll.vcproj @@ -251,7 +251,7 @@ ProgramDataBaseFileName=".\..\..\..\proj\hdf5_hl_f90cstubdll\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/proj/hdf5_hl_fortran/hdf5_hl_f90cstub.vcproj b/windows/proj/hdf5_hl_fortran/hdf5_hl_f90cstub.vcproj index 10096c8..057359c 100644 --- a/windows/proj/hdf5_hl_fortran/hdf5_hl_f90cstub.vcproj +++ b/windows/proj/hdf5_hl_fortran/hdf5_hl_f90cstub.vcproj @@ -204,7 +204,7 @@ ProgramDataBaseFileName=".\..\..\..\proj\hdf5_hl_fortran\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/proj/hdf5_hldll/hdf5_hldll.vcproj b/windows/proj/hdf5_hldll/hdf5_hldll.vcproj index f309c28..ff72dd8 100644 --- a/windows/proj/hdf5_hldll/hdf5_hldll.vcproj +++ b/windows/proj/hdf5_hldll/hdf5_hldll.vcproj @@ -253,7 +253,7 @@ ProgramDataBaseFileName=".\..\..\..\proj\hdf5_hldll\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/proj/hdf5dll/hdf5dll.vcproj b/windows/proj/hdf5dll/hdf5dll.vcproj index 495ae58..69f3e2b 100644 --- a/windows/proj/hdf5dll/hdf5dll.vcproj +++ b/windows/proj/hdf5dll/hdf5dll.vcproj @@ -58,7 +58,7 @@ ProgramDataBaseFileName=".\../../../proj/hdf5dll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
|