summaryrefslogtreecommitdiffstats
path: root/windows/misc
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/misc
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/misc')
-rw-r--r--windows/misc/typegen/h5match_types/h5match_types.vcproj2
-rw-r--r--windows/misc/typegen/h5tinit/h5tinit.vcproj8
2 files changed, 6 insertions, 4 deletions
diff --git a/windows/misc/typegen/h5match_types/h5match_types.vcproj b/windows/misc/typegen/h5match_types/h5match_types.vcproj
index 242a60b..8844294 100644
--- a/windows/misc/typegen/h5match_types/h5match_types.vcproj
+++ b/windows/misc/typegen/h5match_types/h5match_types.vcproj
@@ -58,7 +58,7 @@
ProgramDataBaseFileName=".\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/misc/typegen/h5tinit/h5tinit.vcproj b/windows/misc/typegen/h5tinit/h5tinit.vcproj
index 288e7fe..937edd6 100644
--- a/windows/misc/typegen/h5tinit/h5tinit.vcproj
+++ b/windows/misc/typegen/h5tinit/h5tinit.vcproj
@@ -73,6 +73,7 @@
/>
<Tool
Name="VCLinkerTool"
+ AdditionalDependencies="WS2_32.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
@@ -164,6 +165,7 @@
/>
<Tool
Name="VCLinkerTool"
+ AdditionalDependencies="WS2_32.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
@@ -238,7 +240,7 @@
ProgramDataBaseFileName=".\Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@@ -253,7 +255,7 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="odbc32.lib odbccp32.lib WS2_32.lib"
+ AdditionalDependencies="WS2_32.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"
@@ -345,7 +347,7 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="odbc32.lib odbccp32.lib WS2_32.lib"
+ AdditionalDependencies="WS2_32.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
SuppressStartupBanner="true"