summaryrefslogtreecommitdiffstats
path: root/windows/test/bittests
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2008-06-02 15:36:55 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2008-06-02 15:36:55 (GMT)
commitc65d5ffe8dd7784e6ea2da1c67dec3caf9878976 (patch)
tree5b0f6f0fe6026b0fc36bd70f37ce6469b848f2c9 /windows/test/bittests
parentac339aa792bc16d5c06d4e1d758ff2213c5cb286 (diff)
downloadhdf5-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/test/bittests')
-rw-r--r--windows/test/bittests/bittests.vcproj10
1 files changed, 5 insertions, 5 deletions
diff --git a/windows/test/bittests/bittests.vcproj b/windows/test/bittests/bittests.vcproj
index a77e143..df8fe12 100644
--- a/windows/test/bittests/bittests.vcproj
+++ b/windows/test/bittests/bittests.vcproj
@@ -56,7 +56,7 @@
ProgramDataBaseFileName=".\../../../test/bittests/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -76,7 +76,7 @@
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../test/bittests/Debug/bittests.pdb"
SubSystem="1"
@@ -168,7 +168,7 @@
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../test/bittests/Debug/bittests.pdb"
SubSystem="1"
@@ -261,7 +261,7 @@
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="libcd.lib"
+ IgnoreDefaultLibraryNames=""
ProgramDatabaseFile=".\../../../test/bittests/Release/bittests.pdb"
SubSystem="1"
TargetMachine="1"
@@ -354,7 +354,7 @@
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="libcd.lib"
+ IgnoreDefaultLibraryNames=""
ProgramDatabaseFile=".\../../../test/bittests/Release/bittests.pdb"
SubSystem="1"
TargetMachine="17"