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_vnet/tools/testfiles | |
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_vnet/tools/testfiles')
10 files changed, 17 insertions, 17 deletions
diff --git a/windows_vnet/tools/testfiles/binread/binread.vcproj b/windows_vnet/tools/testfiles/binread/binread.vcproj index 8ee31a0..f55c541 100644 --- a/windows_vnet/tools/testfiles/binread/binread.vcproj +++ b/windows_vnet/tools/testfiles/binread/binread.vcproj @@ -89,7 +89,7 @@ ProgramDataBaseFileName=".\../../../../tools/testfiles/binread/Debug/"
WarningLevel="3"
SuppressStartupBanner="TRUE"
- DebugInformationFormat="4"/>
+ DebugInformationFormat="3"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
diff --git a/windows_vnet/tools/testfiles/h5difftst/h5difftst.vcproj b/windows_vnet/tools/testfiles/h5difftst/h5difftst.vcproj index c4be8a6..eef13d7 100644 --- a/windows_vnet/tools/testfiles/h5difftst/h5difftst.vcproj +++ b/windows_vnet/tools/testfiles/h5difftst/h5difftst.vcproj @@ -43,7 +43,7 @@ OutputFile=".\../../../../tools/testfiles/h5difftst/Release/h5difftst.exe"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
- IgnoreDefaultLibraryNames="libcd.lib"
+ IgnoreDefaultLibraryNames=""
ProgramDatabaseFile=".\../../../../tools/testfiles/h5difftst/Release/h5difftst.pdb"
SubSystem="1"
TargetMachine="1"/>
@@ -94,7 +94,7 @@ ProgramDataBaseFileName=".\../../../../tools/testfiles/h5difftst/Debug/"
WarningLevel="3"
SuppressStartupBanner="TRUE"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
@@ -104,7 +104,7 @@ OutputFile=".\../../../../tools/testfiles/h5difftst/Debug/h5difftst.exe"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\../../../../tools/testfiles/h5difftst/Debug/h5difftst.pdb"
SubSystem="1"
diff --git a/windows_vnet/tools/testfiles/h5dumptst/h5dumptst.vcproj b/windows_vnet/tools/testfiles/h5dumptst/h5dumptst.vcproj index 7ea2947..76f95db 100644 --- a/windows_vnet/tools/testfiles/h5dumptst/h5dumptst.vcproj +++ b/windows_vnet/tools/testfiles/h5dumptst/h5dumptst.vcproj @@ -31,7 +31,7 @@ ProgramDataBaseFileName=".\../../../../tools/testfiles/h5dumptst/Debug/"
WarningLevel="3"
SuppressStartupBanner="TRUE"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
@@ -41,7 +41,7 @@ OutputFile=".\../../../../tools/testfiles/h5dumptst/Debug/h5dumptst.exe"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\../../../../tools/testfiles/h5dumptst/Debug/h5dumptst.pdb"
SubSystem="1"
@@ -104,7 +104,7 @@ OutputFile=".\../../../../tools/testfiles/h5dumptst/Release/h5dumptst.exe"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
- IgnoreDefaultLibraryNames="libcd.lib"
+ IgnoreDefaultLibraryNames=""
ProgramDatabaseFile=".\../../../../tools/testfiles/h5dumptst/Release/h5dumptst.pdb"
SubSystem="1"
TargetMachine="1"/>
diff --git a/windows_vnet/tools/testfiles/h5importtst/h5importtst.vcproj b/windows_vnet/tools/testfiles/h5importtst/h5importtst.vcproj index e476e57..fc85439 100644 --- a/windows_vnet/tools/testfiles/h5importtst/h5importtst.vcproj +++ b/windows_vnet/tools/testfiles/h5importtst/h5importtst.vcproj @@ -32,7 +32,7 @@ ProgramDataBaseFileName=".\../../../../tools/testfiles/h5importtst/Debug/"
WarningLevel="3"
SuppressStartupBanner="TRUE"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
diff --git a/windows_vnet/tools/testfiles/h5jamtst/h5jamtst.vcproj b/windows_vnet/tools/testfiles/h5jamtst/h5jamtst.vcproj index bac1195..7773bda 100644 --- a/windows_vnet/tools/testfiles/h5jamtst/h5jamtst.vcproj +++ b/windows_vnet/tools/testfiles/h5jamtst/h5jamtst.vcproj @@ -32,7 +32,7 @@ ProgramDataBaseFileName=".\../../../../tools/testfiles/h5jamtst/Debug/"
WarningLevel="3"
SuppressStartupBanner="TRUE"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
@@ -42,7 +42,7 @@ OutputFile=".\../../../../tools/testfiles/h5jamtst/Debug/h5jamtst.exe"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\../../../../tools/testfiles/h5jamtst/Debug/h5jamtst.pdb"
SubSystem="1"
diff --git a/windows_vnet/tools/testfiles/h5repacktst/h5repacktst.vcproj b/windows_vnet/tools/testfiles/h5repacktst/h5repacktst.vcproj index c73cbfd..834b30c 100644 --- a/windows_vnet/tools/testfiles/h5repacktst/h5repacktst.vcproj +++ b/windows_vnet/tools/testfiles/h5repacktst/h5repacktst.vcproj @@ -33,7 +33,7 @@ BrowseInformation="1"
WarningLevel="3"
SuppressStartupBanner="TRUE"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
@@ -43,7 +43,7 @@ OutputFile=".\../../../../tools/testfiles/h5repacktst/Debug/h5repacktst.exe"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
ForceSymbolReferences="_gethostname@8"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\../../../../tools/testfiles/h5repacktst/Debug/h5repacktst.pdb"
diff --git a/windows_vnet/tools/testfiles/h5repart_gentest/h5repart_gentest.vcproj b/windows_vnet/tools/testfiles/h5repart_gentest/h5repart_gentest.vcproj index afc7bfc..0c41299 100644 --- a/windows_vnet/tools/testfiles/h5repart_gentest/h5repart_gentest.vcproj +++ b/windows_vnet/tools/testfiles/h5repart_gentest/h5repart_gentest.vcproj @@ -32,7 +32,7 @@ ProgramDataBaseFileName=".\../../../../tools/testfiles/h5repart_gentest/Debug/"
WarningLevel="3"
SuppressStartupBanner="TRUE"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
diff --git a/windows_vnet/tools/testfiles/h5reparttst/h5reparttst.vcproj b/windows_vnet/tools/testfiles/h5reparttst/h5reparttst.vcproj index 6684fef..47bfa7e 100644 --- a/windows_vnet/tools/testfiles/h5reparttst/h5reparttst.vcproj +++ b/windows_vnet/tools/testfiles/h5reparttst/h5reparttst.vcproj @@ -32,7 +32,7 @@ ProgramDataBaseFileName=".\../../../../tools/testfiles/h5reparttst/Debug/"
WarningLevel="3"
SuppressStartupBanner="TRUE"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
diff --git a/windows_vnet/tools/testfiles/testh5repack_detect_szip/testh5repack_detect_szip.vcproj b/windows_vnet/tools/testfiles/testh5repack_detect_szip/testh5repack_detect_szip.vcproj index 1b3a1f1..10628bb 100644 --- a/windows_vnet/tools/testfiles/testh5repack_detect_szip/testh5repack_detect_szip.vcproj +++ b/windows_vnet/tools/testfiles/testh5repack_detect_szip/testh5repack_detect_szip.vcproj @@ -93,7 +93,7 @@ ProgramDataBaseFileName=".\../../../../tools/testfiles/testh5repack_detect_szip/Debug/"
WarningLevel="3"
SuppressStartupBanner="TRUE"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
@@ -103,7 +103,7 @@ OutputFile=".\../../../../tools/testfiles/testh5repack_detect_szip/Debug/testh5repack_detect_szip.exe"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\../../../../tools/testfiles/testh5repack_detect_szip/Debug/testh5repack_detect_szip.pdb"
SubSystem="1"
diff --git a/windows_vnet/tools/testfiles/testh5repack_detect_szipdll/testh5repack_detect_szipdll.vcproj b/windows_vnet/tools/testfiles/testh5repack_detect_szipdll/testh5repack_detect_szipdll.vcproj index 8ab4913..421922f 100644 --- a/windows_vnet/tools/testfiles/testh5repack_detect_szipdll/testh5repack_detect_szipdll.vcproj +++ b/windows_vnet/tools/testfiles/testh5repack_detect_szipdll/testh5repack_detect_szipdll.vcproj @@ -92,7 +92,7 @@ ProgramDataBaseFileName=".\../../../../tools/testfiles/testh5repack_detect_szipdll/Debug/"
WarningLevel="3"
SuppressStartupBanner="TRUE"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
|