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/examples | |
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/examples')
18 files changed, 36 insertions, 36 deletions
diff --git a/windows/examples/attributetest/attributetest.vcproj b/windows/examples/attributetest/attributetest.vcproj index cb31b62..ca0aaec 100644 --- a/windows/examples/attributetest/attributetest.vcproj +++ b/windows/examples/attributetest/attributetest.vcproj @@ -56,7 +56,7 @@ ProgramDataBaseFileName=".\../../../examples/attributest/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -77,7 +77,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/attributest/Debug/attributetest.pdb"
SubSystem="1"
@@ -170,7 +170,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/attributest/Debug/attributetest.pdb"
SubSystem="1"
diff --git a/windows/examples/attributetestdll/attributetestdll.vcproj b/windows/examples/attributetestdll/attributetestdll.vcproj index 2bfd327..ea0a36d 100644 --- a/windows/examples/attributetestdll/attributetestdll.vcproj +++ b/windows/examples/attributetestdll/attributetestdll.vcproj @@ -57,7 +57,7 @@ ProgramDataBaseFileName=".\../../../examples/attributetestdll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/examples/chunkread/chunkread.vcproj b/windows/examples/chunkread/chunkread.vcproj index b81969f..73c2fdb 100644 --- a/windows/examples/chunkread/chunkread.vcproj +++ b/windows/examples/chunkread/chunkread.vcproj @@ -241,7 +241,7 @@ ProgramDataBaseFileName=".\../../../examples/chunkread/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -262,7 +262,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/chunkread/Debug/chunkread.pdb"
SubSystem="1"
@@ -355,7 +355,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/chunkread/Debug/chunkread.pdb"
SubSystem="1"
diff --git a/windows/examples/chunkreaddll/chunkreaddll.vcproj b/windows/examples/chunkreaddll/chunkreaddll.vcproj index 68ff520..c6c1b52 100644 --- a/windows/examples/chunkreaddll/chunkreaddll.vcproj +++ b/windows/examples/chunkreaddll/chunkreaddll.vcproj @@ -242,7 +242,7 @@ ProgramDataBaseFileName=".\../../../examples/chunkreaddll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/examples/compoundtest/compoundtest.vcproj b/windows/examples/compoundtest/compoundtest.vcproj index dd8db7e..9a64ed7 100644 --- a/windows/examples/compoundtest/compoundtest.vcproj +++ b/windows/examples/compoundtest/compoundtest.vcproj @@ -241,7 +241,7 @@ ProgramDataBaseFileName=".\../../../examples/compoundtest/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -262,7 +262,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/compoundtest/Debug/compoundtest.pdb"
SubSystem="1"
@@ -355,7 +355,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/compoundtest/Debug/compoundtest.pdb"
SubSystem="1"
diff --git a/windows/examples/compoundtestdll/compoundtestdll.vcproj b/windows/examples/compoundtestdll/compoundtestdll.vcproj index ea490b9..98e3d50 100644 --- a/windows/examples/compoundtestdll/compoundtestdll.vcproj +++ b/windows/examples/compoundtestdll/compoundtestdll.vcproj @@ -242,7 +242,7 @@ ProgramDataBaseFileName=".\../../../examples/compoundtestdll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/examples/extendwritetest/extendwritetest.vcproj b/windows/examples/extendwritetest/extendwritetest.vcproj index 4a95fa4..498ef97 100644 --- a/windows/examples/extendwritetest/extendwritetest.vcproj +++ b/windows/examples/extendwritetest/extendwritetest.vcproj @@ -56,7 +56,7 @@ ProgramDataBaseFileName=".\../../../examples/extendwritetest/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -77,7 +77,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/extendwritetest/Debug/extendwritetest.pdb"
SubSystem="1"
@@ -170,7 +170,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/extendwritetest/Debug/extendwritetest.pdb"
SubSystem="1"
diff --git a/windows/examples/extendwritetestdll/extendwritetestdll.vcproj b/windows/examples/extendwritetestdll/extendwritetestdll.vcproj index b5c9d34..6f2019b 100644 --- a/windows/examples/extendwritetestdll/extendwritetestdll.vcproj +++ b/windows/examples/extendwritetestdll/extendwritetestdll.vcproj @@ -242,7 +242,7 @@ ProgramDataBaseFileName=".\../../../examples/extendwritetestdll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/examples/grouptest/grouptest.vcproj b/windows/examples/grouptest/grouptest.vcproj index 7f31475..24d5926 100644 --- a/windows/examples/grouptest/grouptest.vcproj +++ b/windows/examples/grouptest/grouptest.vcproj @@ -56,7 +56,7 @@ ProgramDataBaseFileName=".\../../../examples/grouptest/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -77,7 +77,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/grouptest/Debug/grouptest.pdb"
SubSystem="1"
@@ -170,7 +170,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/grouptest/Debug/grouptest.pdb"
SubSystem="1"
diff --git a/windows/examples/grouptestdll/grouptestdll.vcproj b/windows/examples/grouptestdll/grouptestdll.vcproj index fa9f5a8..e2edd07 100644 --- a/windows/examples/grouptestdll/grouptestdll.vcproj +++ b/windows/examples/grouptestdll/grouptestdll.vcproj @@ -57,7 +57,7 @@ ProgramDataBaseFileName=".\../../../examples/grouptestdll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/examples/intermgrouptest/intermgrouptest.vcproj b/windows/examples/intermgrouptest/intermgrouptest.vcproj index 7b21e60..a7db68e 100644 --- a/windows/examples/intermgrouptest/intermgrouptest.vcproj +++ b/windows/examples/intermgrouptest/intermgrouptest.vcproj @@ -57,7 +57,7 @@ ProgramDataBaseFileName=".\../../../examples/intermgrouptest/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -78,7 +78,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/intermgrouptest/Debug/intermgrouptest.pdb"
SubSystem="1"
@@ -172,7 +172,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/intermgrouptest/Debug/intermgrouptest.pdb"
SubSystem="1"
diff --git a/windows/examples/intermgrouptestdll/intermgrouptestdll.vcproj b/windows/examples/intermgrouptestdll/intermgrouptestdll.vcproj index 8efda7f..14e3855 100644 --- a/windows/examples/intermgrouptestdll/intermgrouptestdll.vcproj +++ b/windows/examples/intermgrouptestdll/intermgrouptestdll.vcproj @@ -57,7 +57,7 @@ ProgramDataBaseFileName=".\../../../examples/intermgrouptestdll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/examples/readtest/readtest.vcproj b/windows/examples/readtest/readtest.vcproj index 103bb20..e25becd 100644 --- a/windows/examples/readtest/readtest.vcproj +++ b/windows/examples/readtest/readtest.vcproj @@ -56,7 +56,7 @@ ProgramDataBaseFileName=".\../../../examples/readtest/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -77,7 +77,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/readtest/Debug/readtest.pdb"
SubSystem="1"
@@ -170,7 +170,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/readtest/Debug/readtest.pdb"
SubSystem="1"
diff --git a/windows/examples/readtestdll/readtestdll.vcproj b/windows/examples/readtestdll/readtestdll.vcproj index 42bcf90..2328206 100644 --- a/windows/examples/readtestdll/readtestdll.vcproj +++ b/windows/examples/readtestdll/readtestdll.vcproj @@ -242,7 +242,7 @@ ProgramDataBaseFileName=".\../../../examples/readtestdll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/examples/selectest/selectest.vcproj b/windows/examples/selectest/selectest.vcproj index b119df9..f44c46f 100644 --- a/windows/examples/selectest/selectest.vcproj +++ b/windows/examples/selectest/selectest.vcproj @@ -56,7 +56,7 @@ ProgramDataBaseFileName=".\../../../examples/selectest/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -77,7 +77,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/selectest/Debug/selectest.pdb"
SubSystem="1"
@@ -170,7 +170,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/selectest/Debug/selectest.pdb"
SubSystem="1"
diff --git a/windows/examples/selectestdll/selectestdll.vcproj b/windows/examples/selectestdll/selectestdll.vcproj index f9397e3..fcb58de 100644 --- a/windows/examples/selectestdll/selectestdll.vcproj +++ b/windows/examples/selectestdll/selectestdll.vcproj @@ -242,7 +242,7 @@ ProgramDataBaseFileName=".\../../../examples/selectestdll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
diff --git a/windows/examples/writetest/writetest.vcproj b/windows/examples/writetest/writetest.vcproj index f355aa1..729ca30 100644 --- a/windows/examples/writetest/writetest.vcproj +++ b/windows/examples/writetest/writetest.vcproj @@ -241,7 +241,7 @@ ProgramDataBaseFileName=".\../../../examples/writetest/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
@@ -262,7 +262,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/writetest/Debug/writetest.pdb"
SubSystem="1"
@@ -355,7 +355,7 @@ LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="..\..\..\proj\hdf5\debug,..\..\..\hdf5lib\debug\lib"
- IgnoreDefaultLibraryNames="libc.lib"
+ IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
ProgramDatabaseFile=".\../../../examples/writetest/Debug/writetest.pdb"
SubSystem="1"
diff --git a/windows/examples/writetestdll/writetestdll.vcproj b/windows/examples/writetestdll/writetestdll.vcproj index c26eb03..4f3fc94 100644 --- a/windows/examples/writetestdll/writetestdll.vcproj +++ b/windows/examples/writetestdll/writetestdll.vcproj @@ -57,7 +57,7 @@ ProgramDataBaseFileName=".\../../../examples/writetestdll/Debug/"
WarningLevel="3"
SuppressStartupBanner="true"
- DebugInformationFormat="4"
+ DebugInformationFormat="3"
CompileAs="0"
/>
<Tool
|