[glib] Bug 688681: Stop using .def files in Visual Studio builds
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Bug 688681: Stop using .def files in Visual Studio builds
- Date: Tue, 15 Jan 2013 07:23:14 +0000 (UTC)
commit 4ba56f3653df55c187bd29ac6e4ebb4d33f4ba61
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Tue Jan 15 15:23:05 2013 +0800
Bug 688681: Stop using .def files in Visual Studio builds
Since we are now starting to use __declspec (dllexport) to export the
public functions during the build of the GLib DLLs (i.e. to generate the
.lib files), we don't want to generate the .def files from the .symbols
files as we did before for a long time.
This removes from the projects the custom build steps to generate the
various .def files
This will also update the pre-configured config.h(.win32.in) to define
_GLIB_EXTERN appropriately as __declspec (dllexport), as well as making its
entries reflect config.h.in more closely.
build/win32/vs10/gio.vcxprojin | 20 -------
build/win32/vs10/glib.vcxprojin | 36 -------------
build/win32/vs10/gmodule.vcxproj | 20 -------
build/win32/vs10/gobject.vcxprojin | 20 -------
build/win32/vs9/gio.vcprojin | 53 +-------------------
build/win32/vs9/glib.vcprojin | 97 +-----------------------------------
build/win32/vs9/gmodule.vcproj | 53 +-------------------
build/win32/vs9/gobject.vcprojin | 53 +-------------------
config.h.win32.in | 25 +++++-----
9 files changed, 16 insertions(+), 361 deletions(-)
---
diff --git a/build/win32/vs10/gio.vcxprojin b/build/win32/vs10/gio.vcxprojin
index e4ad355..52f6d1a 100644
--- a/build/win32/vs10/gio.vcxprojin
+++ b/build/win32/vs10/gio.vcxprojin
@@ -88,7 +88,6 @@
<Link>
<AdditionalDependencies>zlib1d.lib;ws2_32.lib;shlwapi.lib;dnsapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)gio.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
@@ -112,7 +111,6 @@
<Link>
<AdditionalDependencies>zlib1.lib;ws2_32.lib;shlwapi.lib;dnsapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)gio.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@@ -141,7 +139,6 @@
<Link>
<AdditionalDependencies>zlib1d.lib;ws2_32.lib;shlwapi.lib;dnsapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)gio.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
@@ -165,7 +162,6 @@
<Link>
<AdditionalDependencies>zlib1.lib;ws2_32.lib;shlwapi.lib;dnsapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)gio.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@@ -184,22 +180,6 @@
<ResourceCompile Include="..\..\..\gio\gio.rc" />
</ItemGroup>
<ItemGroup>
- <CustomBuild Include="..\..\..\gio\gio.symbols">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating gio.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GlibGenerateGioDef)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)gio.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating gio.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GlibGenerateGioDef)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)gio.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating gio.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GlibGenerateGioDef)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)gio.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating gio.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GlibGenerateGioDef)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)gio.def;%(Outputs)</Outputs>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
<ProjectReference Include="glib.vcxproj">
<Project>{12bca020-eabf-429e-876a-a476bc9c10c0}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
diff --git a/build/win32/vs10/glib.vcxprojin b/build/win32/vs10/glib.vcxprojin
index 371eb18..ebb4a9a 100644
--- a/build/win32/vs10/glib.vcxprojin
+++ b/build/win32/vs10/glib.vcxprojin
@@ -150,7 +150,6 @@
<Link>
<AdditionalDependencies>ws2_32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)glib.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
@@ -176,7 +175,6 @@
<Link>
<AdditionalDependencies>ws2_32.lib;winmm.lib;pcred.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)glib.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
@@ -202,7 +200,6 @@
<Link>
<AdditionalDependencies>ws2_32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)glib.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
@@ -228,7 +225,6 @@
<Link>
<AdditionalDependencies>ws2_32.lib;winmm.lib;pcred.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)glib.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
@@ -251,7 +247,6 @@
<Link>
<AdditionalDependencies>ws2_32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)glib.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@@ -276,7 +271,6 @@
<Link>
<AdditionalDependencies>ws2_32.lib;winmm.lib;pcre.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)glib.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@@ -301,7 +295,6 @@
<Link>
<AdditionalDependencies>ws2_32.lib;winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)glib.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@@ -326,7 +319,6 @@
<Link>
<AdditionalDependencies>ws2_32.lib;winmm.lib;pcre.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)glib.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@@ -533,34 +525,6 @@
<ItemGroup>
<ResourceCompile Include="..\..\..\glib\glib.rc" />
</ItemGroup>
- <ItemGroup>
- <CustomBuild Include="..\..\..\glib\glib.symbols">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug_ExtPCRE|Win32'">Generating glib.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug_ExtPCRE|Win32'">$(GlibGenerateGlibDef)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug_ExtPCRE|Win32'">$(IntDir)glib.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug_ExtPCRE|x64'">Generating glib.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug_ExtPCRE|x64'">$(GlibGenerateGlibDefW64)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug_ExtPCRE|x64'">$(IntDir)glib.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating glib.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GlibGenerateGlibDef)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)glib.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating glib.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GlibGenerateGlibDefW64)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)glib.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release_ExtPCRE|Win32'">Generating glib.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release_ExtPCRE|Win32'">$(GlibGenerateGlibDef)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release_ExtPCRE|Win32'">$(IntDir)glib.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release_ExtPCRE|x64'">Generating glib.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release_ExtPCRE|x64'">$(GlibGenerateGlibDefW64)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release_ExtPCRE|x64'">$(IntDir)glib.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating glib.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GlibGenerateGlibDef)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)glib.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating glib.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GlibGenerateGlibDefW64)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)glib.def;%(Outputs)</Outputs>
- </CustomBuild>
- </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
diff --git a/build/win32/vs10/gmodule.vcxproj b/build/win32/vs10/gmodule.vcxproj
index 6c10349..dd9e602 100644
--- a/build/win32/vs10/gmodule.vcxproj
+++ b/build/win32/vs10/gmodule.vcxproj
@@ -87,7 +87,6 @@
</ClCompile>
<Link>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)gmodule.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
@@ -109,7 +108,6 @@
</ClCompile>
<Link>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)gmodule.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@@ -136,7 +134,6 @@
</ClCompile>
<Link>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)gmodule.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
@@ -158,7 +155,6 @@
</ClCompile>
<Link>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)gmodule.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@@ -177,22 +173,6 @@
<ResourceCompile Include="..\..\..\gmodule\gmodule.rc" />
</ItemGroup>
<ItemGroup>
- <CustomBuild Include="..\..\..\gmodule\gmodule.symbols">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating gmodule.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GlibGenerateGmoduleDef)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)gmodule.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating gmodule.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GlibGenerateGmoduleDefW64)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)gmodule.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating gmodule.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GlibGenerateGmoduleDef)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)gmodule.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating gmodule.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GlibGenerateGmoduleDefW64)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)gmodule.def;%(Outputs)</Outputs>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
<ProjectReference Include="glib.vcxproj">
<Project>{12bca020-eabf-429e-876a-a476bc9c10c0}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
diff --git a/build/win32/vs10/gobject.vcxprojin b/build/win32/vs10/gobject.vcxprojin
index c80b9ba..171b3b7 100644
--- a/build/win32/vs10/gobject.vcxprojin
+++ b/build/win32/vs10/gobject.vcxprojin
@@ -87,7 +87,6 @@
<Link>
<AdditionalDependencies>libffi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)gobject.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
@@ -110,7 +109,6 @@
<Link>
<AdditionalDependencies>libffi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)gobject.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@@ -139,7 +137,6 @@
<Link>
<AdditionalDependencies>libffi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)gobject.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
@@ -162,7 +159,6 @@
<Link>
<AdditionalDependencies>libffi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll</OutputFile>
- <ModuleDefinitionFile>$(IntDir)gobject.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@@ -183,22 +179,6 @@
<ResourceCompile Include="..\..\..\gobject\gobject.rc" />
</ItemGroup>
<ItemGroup>
- <CustomBuild Include="..\..\..\gobject\gobject.symbols">
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating gobject.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GlibGenerateGobjectDef)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)gobject.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Generating gobject.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GlibGenerateGobjectDef)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)gobject.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating gobject.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GlibGenerateGobjectDef)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)gobject.def;%(Outputs)</Outputs>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Generating gobject.def</Message>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GlibGenerateGobjectDef)</Command>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)gobject.def;%(Outputs)</Outputs>
- </CustomBuild>
- </ItemGroup>
- <ItemGroup>
<ProjectReference Include="glib.vcxproj">
<Project>{12bca020-eabf-429e-876a-a476bc9c10c0}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
diff --git a/build/win32/vs9/gio.vcprojin b/build/win32/vs9/gio.vcprojin
index 8d73dcd..bba9704 100644
--- a/build/win32/vs9/gio.vcprojin
+++ b/build/win32/vs9/gio.vcprojin
@@ -42,7 +42,6 @@
AdditionalDependencies="zlib1d.lib ws2_32.lib shlwapi.lib dnsapi.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="2"
- ModuleDefinitionFile="$(IntDir)\gio.def"
GenerateDebugInformation="true"
SubSystem="2"
RandomizedBaseAddress="1"
@@ -73,7 +72,6 @@
AdditionalDependencies="zlib1.lib ws2_32.lib shlwapi.lib dnsapi.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="1"
- ModuleDefinitionFile="$(IntDir)\gio.def"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
@@ -108,7 +106,6 @@
AdditionalDependencies="zlib1d.lib ws2_32.lib shlwapi.lib dnsapi.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="2"
- ModuleDefinitionFile="$(IntDir)\gio.def"
GenerateDebugInformation="true"
SubSystem="2"
RandomizedBaseAddress="1"
@@ -139,7 +136,6 @@
AdditionalDependencies="zlib1.lib ws2_32.lib shlwapi.lib dnsapi.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="1"
- ModuleDefinitionFile="$(IntDir)\gio.def"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
@@ -172,54 +168,7 @@
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
- <File
- RelativePath="..\..\..\gio\gio.rc"
- >
- </File>
- <File
- RelativePath="..\..\..\gio\gio.symbols"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating gio.def"
- CommandLine="$(GlibGenerateGioDef)"
- Outputs="$(IntDir)/gio.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|x64"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating gio.def"
- CommandLine="$(GlibGenerateGioDef)"
- Outputs="$(IntDir)/gio.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating gio.def"
- CommandLine="$(GlibGenerateGioDef)"
- Outputs="$(IntDir)/gio.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|x64"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating gio.def"
- CommandLine="$(GlibGenerateGioDef)"
- Outputs="$(IntDir)/gio.def"
- />
- </FileConfiguration>
- </File>
+ <File RelativePath="..\..\..\gio\gio.rc" />
</Filter>
</Files>
</VisualStudioProject>
diff --git a/build/win32/vs9/glib.vcprojin b/build/win32/vs9/glib.vcprojin
index 6d1631e..6865eac 100644
--- a/build/win32/vs9/glib.vcprojin
+++ b/build/win32/vs9/glib.vcprojin
@@ -42,7 +42,6 @@
AdditionalDependencies="ws2_32.lib winmm.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="2"
- ModuleDefinitionFile="$(IntDir)\glib.def"
GenerateDebugInformation="true"
SubSystem="2"
RandomizedBaseAddress="1"
@@ -75,7 +74,6 @@
AdditionalDependencies="ws2_32.lib winmm.lib pcred.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="2"
- ModuleDefinitionFile="$(IntDir)\glib.def"
GenerateDebugInformation="true"
SubSystem="2"
RandomizedBaseAddress="1"
@@ -107,7 +105,6 @@
AdditionalDependencies="ws2_32.lib winmm.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="2"
- ModuleDefinitionFile="$(IntDir)\glib.def"
GenerateDebugInformation="true"
SubSystem="2"
RandomizedBaseAddress="1"
@@ -140,7 +137,6 @@
AdditionalDependencies="ws2_32.lib winmm.lib pcred.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="2"
- ModuleDefinitionFile="$(IntDir)\glib.def"
GenerateDebugInformation="true"
SubSystem="2"
RandomizedBaseAddress="1"
@@ -170,7 +166,6 @@
AdditionalDependencies="ws2_32.lib winmm.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="1"
- ModuleDefinitionFile="$(IntDir)\glib.def"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
@@ -203,7 +198,6 @@
AdditionalDependencies="ws2_32.lib winmm.lib pcre.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="1"
- ModuleDefinitionFile="$(IntDir)\glib.def"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
@@ -235,7 +229,6 @@
AdditionalDependencies="ws2_32.lib winmm.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="1"
- ModuleDefinitionFile="$(IntDir)\glib.def"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
@@ -268,7 +261,6 @@
AdditionalDependencies="ws2_32.lib winmm.lib pcre.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="1"
- ModuleDefinitionFile="$(IntDir)\glib.def"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
@@ -502,94 +494,7 @@
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
- <File
- RelativePath="..\..\..\glib\glib.rc"
- >
- </File>
- <File
- RelativePath="..\..\..\glib\glib.symbols"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating glib.def"
- CommandLine="$(GlibGenerateGlibDef)"
- Outputs="$(IntDir)\glib.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug_ExtPCRE|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating glib.def"
- CommandLine="$(GlibGenerateGlibDef)"
- Outputs="$(IntDir)\glib.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|x64"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating glib.def"
- CommandLine="$(GlibGenerateGlibDefW64)"
- Outputs="$(IntDir)\glib.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug_ExtPCRE|x64"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating glib.def"
- CommandLine="$(GlibGenerateGlibDefW64)"
- Outputs="$(IntDir)\glib.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating glib.def"
- CommandLine="$(GlibGenerateGlibDef)"
- Outputs="$(IntDir)\glib.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release_ExtPCRE|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating glib.def"
- CommandLine="$(GlibGenerateGlibDef)"
- Outputs="$(IntDir)\glib.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|x64"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating glib.def"
- CommandLine="$(GlibGenerateGlibDefW64)"
- Outputs="$(IntDir)\glib.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release_ExtPCRE|x64"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating glib.def"
- CommandLine="$(GlibGenerateGlibDefW64)"
- Outputs="$(IntDir)\glib.def"
- />
- </FileConfiguration>
- </File>
+ <File RelativePath="..\..\..\glib\glib.rc" />
</Filter>
</Files>
</VisualStudioProject>
diff --git a/build/win32/vs9/gmodule.vcproj b/build/win32/vs9/gmodule.vcproj
index 773d912..b4a1331 100644
--- a/build/win32/vs9/gmodule.vcproj
+++ b/build/win32/vs9/gmodule.vcproj
@@ -41,7 +41,6 @@
Name="VCLinkerTool"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="2"
- ModuleDefinitionFile="$(IntDir)\gmodule.def"
GenerateDebugInformation="true"
SubSystem="2"
RandomizedBaseAddress="1"
@@ -70,7 +69,6 @@
Name="VCLinkerTool"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="1"
- ModuleDefinitionFile="$(IntDir)\gmodule.def"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
@@ -103,7 +101,6 @@
Name="VCLinkerTool"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="2"
- ModuleDefinitionFile="$(IntDir)\gmodule.def"
GenerateDebugInformation="true"
SubSystem="2"
RandomizedBaseAddress="1"
@@ -132,7 +129,6 @@
Name="VCLinkerTool"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="1"
- ModuleDefinitionFile="$(IntDir)\gmodule.def"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
@@ -168,54 +164,7 @@
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
- <File
- RelativePath="..\..\..\gmodule\gmodule.rc"
- >
- </File>
- <File
- RelativePath="..\..\..\gmodule\gmodule.symbols"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating gmodule.def"
- CommandLine="$(GlibGenerateGmoduleDef)"
- Outputs="$(IntDir)/gmodule.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|x64"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating gmodule.def"
- CommandLine="$(GlibGenerateGmoduleDefW64)"
- Outputs="$(IntDir)/gmodule.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating gmodule.def"
- CommandLine="$(GlibGenerateGmoduleDef)"
- Outputs="$(IntDir)/gmodule.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|x64"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating gmodule.def"
- CommandLine="$(GlibGenerateGmoduleDefW64)"
- Outputs="$(IntDir)/gmodule.def"
- />
- </FileConfiguration>
- </File>
+ <File RelativePath="..\..\..\gmodule\gmodule.rc" />
</Filter>
</Files>
</VisualStudioProject>
diff --git a/build/win32/vs9/gobject.vcprojin b/build/win32/vs9/gobject.vcprojin
index c9baac3..f8300e9 100644
--- a/build/win32/vs9/gobject.vcprojin
+++ b/build/win32/vs9/gobject.vcprojin
@@ -41,7 +41,6 @@
AdditionalDependencies="libffi.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="2"
- ModuleDefinitionFile="$(IntDir)\gobject.def"
GenerateDebugInformation="true"
SubSystem="2"
RandomizedBaseAddress="1"
@@ -71,7 +70,6 @@
AdditionalDependencies="libffi.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="1"
- ModuleDefinitionFile="$(IntDir)\gobject.def"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
@@ -105,7 +103,6 @@
AdditionalDependencies="libffi.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="2"
- ModuleDefinitionFile="$(IntDir)\gobject.def"
GenerateDebugInformation="true"
SubSystem="2"
RandomizedBaseAddress="1"
@@ -135,7 +132,6 @@
AdditionalDependencies="libffi.lib"
OutputFile="$(OutDir)\$(GlibDllPrefix)$(ProjectName)$(GlibDllSuffix).dll"
LinkIncremental="1"
- ModuleDefinitionFile="$(IntDir)\gobject.def"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
@@ -169,54 +165,7 @@
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
- <File
- RelativePath="..\..\..\gobject\gobject.rc"
- >
- </File>
- <File
- RelativePath="..\..\..\gobject\gobject.symbols"
- >
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating gobject.def"
- CommandLine="$(GlibGenerateGobjectDef)"
- Outputs="$(IntDir)/gobject.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|x64"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating gobject.def"
- CommandLine="$(GlibGenerateGobjectDef)"
- Outputs="$(IntDir)/gobject.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating gobject.def"
- CommandLine="$(GlibGenerateGobjectDef)"
- Outputs="$(IntDir)/gobject.def"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|x64"
- >
- <Tool
- Name="VCCustomBuildTool"
- Description="Generating gobject.def"
- CommandLine="$(GlibGenerateGobjectDef)"
- Outputs="$(IntDir)/gobject.def"
- />
- </FileConfiguration>
- </File>
+ <File RelativePath="..\..\..\gobject\gobject.rc" />
</Filter>
</Files>
</VisualStudioProject>
diff --git a/config.h.win32.in b/config.h.win32.in
index 5550b50..7a577ff 100644
--- a/config.h.win32.in
+++ b/config.h.win32.in
@@ -89,9 +89,6 @@
*/
/* #undef HAVE_ALLOCA_H */
-/* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
-/* #undef HAVE_ARPA_NAMESER_COMPAT_H */
-
/* Define to 1 if you have the `atexit' function. */
#define HAVE_ATEXIT 1
@@ -363,9 +360,6 @@
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */
-/* Define to 1 if you have the <netdb.h> header file. */
-/* #undef HAVE_NETDB_H */
-
/* We have AF_NETLINK sockets */
/* #undef HAVE_NETLINK */
@@ -581,10 +575,16 @@
/* Define to 1 if you have the `symlink' function. */
/* #undef HAVE_SYMLINK */
+/* Define to 1 if you have the `sysctlbyname' function. */
+/* #undef HAVE_SYSCTLBYNAME */
+
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
+/* Define to 1 if you have the <sys/event.h> header file. */
+/* #undef HAVE_SYS_EVENT_H */
+
/* Define to 1 if you have the <sys/event.h> header file. */
/* #undef HAVE_SYS_EVENT_H */
@@ -594,6 +594,9 @@
/* Define to 1 if you have the <sys/inotify.h> header file. */
/* #undef HAVE_SYS_INOTIFY_H */
+/* Define to 1 if you have the <sys/ioctl.h> header file. */
+/* #undef HAVE_SYS_IOCTL_H */
+
/* Define to 1 if you have the <sys/mkdev.h> header file. */
/* #undef HAVE_SYS_MKDEV_H */
@@ -736,13 +739,6 @@
/* Have a working bcopy */
/* #undef HAVE_WORKING_BCOPY */
-/* Define to 1 if you have the <wspiapi.h> header file. */
-#ifndef _MSC_VER
-/* #undef HAVE_WSPIAPI_H */
-#else
-#define HAVE_WSPIAPI_H 1
-#endif
-
/* Define to 1 if xattr is available */
/* #undef HAVE_XATTR */
@@ -879,6 +875,9 @@
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
+/* defines how to decorate public symbols while building */
+#define _GLIB_EXTERN __declspec (dllexport)
+
/* Make all glibc extensions visible */
/* #undef _GNU_SOURCE */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]