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/hl/test | |
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/hl/test')
10 files changed, 20 insertions, 20 deletions
diff --git a/windows/hl/test/hl_test_ds/hl_test_ds.vcproj b/windows/hl/test/hl_test_ds/hl_test_ds.vcproj index 3eeb105..4e221cd 100644 --- a/windows/hl/test/hl_test_ds/hl_test_ds.vcproj +++ b/windows/hl/test/hl_test_ds/hl_test_ds.vcproj @@ -57,7 +57,7 @@ ProgramDataBaseFileName=".\../../../../hl/test/hl_test_ds/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -77,7 +77,7 @@ OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../../hl/test/hl_test_ds/Debug/hl_test_ds.pdb"
SubSystem="1"
@@ -170,7 +170,7 @@ OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../../hl/test/hl_test_ds/Debug/hl_test_ds.pdb"
SubSystem="1"
diff --git a/windows/hl/test/hl_test_dsdll/hl_test_dsdll.vcproj b/windows/hl/test/hl_test_dsdll/hl_test_dsdll.vcproj index 48880f7..1e88162 100644 --- a/windows/hl/test/hl_test_dsdll/hl_test_dsdll.vcproj +++ b/windows/hl/test/hl_test_dsdll/hl_test_dsdll.vcproj @@ -242,7 +242,7 @@ ProgramDataBaseFileName=".\../../../../hl/test/hl_test_dsdll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/hl/test/hl_test_image/hl_test_image.vcproj b/windows/hl/test/hl_test_image/hl_test_image.vcproj index b2f0cc6..0782707 100644 --- a/windows/hl/test/hl_test_image/hl_test_image.vcproj +++ b/windows/hl/test/hl_test_image/hl_test_image.vcproj @@ -57,7 +57,7 @@ ProgramDataBaseFileName=".\../../../../hl/test/hl_test_image/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -77,7 +77,7 @@ OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../../hl/test/hl_test_image/Debug/hl_test_image.pdb"
SubSystem="1"
@@ -170,7 +170,7 @@ OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../../hl/test/hl_test_image/Debug/hl_test_image.pdb"
SubSystem="1"
diff --git a/windows/hl/test/hl_test_imagedll/hl_test_imagedll.vcproj b/windows/hl/test/hl_test_imagedll/hl_test_imagedll.vcproj index d15b64c..1fd1b46 100644 --- a/windows/hl/test/hl_test_imagedll/hl_test_imagedll.vcproj +++ b/windows/hl/test/hl_test_imagedll/hl_test_imagedll.vcproj @@ -57,7 +57,7 @@ ProgramDataBaseFileName=".\../../../../hl/test/hl_test_imagedll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/hl/test/hl_test_lite/hl_test_lite.vcproj b/windows/hl/test/hl_test_lite/hl_test_lite.vcproj index a718284..2efc812 100644 --- a/windows/hl/test/hl_test_lite/hl_test_lite.vcproj +++ b/windows/hl/test/hl_test_lite/hl_test_lite.vcproj @@ -240,7 +240,7 @@ ProgramDataBaseFileName=".\../../../../hl/test/hl_test_lite/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -260,7 +260,7 @@ OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../../hl/test/hl_test_lite/Debug/hl_test_lite.pdb"
SubSystem="1"
@@ -353,7 +353,7 @@ OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../../hl/test/hl_test_lite/Debug/hl_test_lite.pdb"
SubSystem="1"
diff --git a/windows/hl/test/hl_test_litedll/hl_test_litedll.vcproj b/windows/hl/test/hl_test_litedll/hl_test_litedll.vcproj index c4e4ef3..d09836e 100644 --- a/windows/hl/test/hl_test_litedll/hl_test_litedll.vcproj +++ b/windows/hl/test/hl_test_litedll/hl_test_litedll.vcproj @@ -240,7 +240,7 @@ ProgramDataBaseFileName=".\../../../../hl/test/hl_test_litedll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/hl/test/hl_test_packet/hl_test_packet.vcproj b/windows/hl/test/hl_test_packet/hl_test_packet.vcproj index 0b483b6..cdbdba4 100644 --- a/windows/hl/test/hl_test_packet/hl_test_packet.vcproj +++ b/windows/hl/test/hl_test_packet/hl_test_packet.vcproj @@ -240,7 +240,7 @@ ProgramDataBaseFileName=".\../../../../hl/test/hl_test_packet/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -260,7 +260,7 @@ OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../../hl/test/hl_test_packet/Debug/hl_test_packet.pdb"
SubSystem="1"
@@ -353,7 +353,7 @@ OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../../hl/test/hl_test_packet/Debug/hl_test_packet.pdb"
SubSystem="1"
diff --git a/windows/hl/test/hl_test_packetdll/hl_test_packetdll.vcproj b/windows/hl/test/hl_test_packetdll/hl_test_packetdll.vcproj index cbf5c43..f3da77d 100644 --- a/windows/hl/test/hl_test_packetdll/hl_test_packetdll.vcproj +++ b/windows/hl/test/hl_test_packetdll/hl_test_packetdll.vcproj @@ -240,7 +240,7 @@ ProgramDataBaseFileName=".\../../../../hl/test/hl_test_packetdll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/hl/test/hl_test_table/hl_test_table.vcproj b/windows/hl/test/hl_test_table/hl_test_table.vcproj index 3102709..77dfec4 100644 --- a/windows/hl/test/hl_test_table/hl_test_table.vcproj +++ b/windows/hl/test/hl_test_table/hl_test_table.vcproj @@ -240,7 +240,7 @@ ProgramDataBaseFileName=".\../../../../hl/test/hl_test_table/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -260,7 +260,7 @@ OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../../hl/test/hl_test_table/Debug/hl_test_table.pdb"
SubSystem="1"
@@ -353,7 +353,7 @@ OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../../hl/test/hl_test_table/Debug/hl_test_table.pdb"
SubSystem="1"
diff --git a/windows/hl/test/hl_test_tabledll/hl_test_tabledll.vcproj b/windows/hl/test/hl_test_tabledll/hl_test_tabledll.vcproj index 351c560..cda5acf 100644 --- a/windows/hl/test/hl_test_tabledll/hl_test_tabledll.vcproj +++ b/windows/hl/test/hl_test_tabledll/hl_test_tabledll.vcproj @@ -57,7 +57,7 @@ ProgramDataBaseFileName=".\../../../../hl/test/hl_test_tabledll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
|