mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Further work on VS9 project files
This commit is contained in:
parent
021643cda4
commit
762e18d8ce
@ -15,15 +15,23 @@ builds. Set up the source tree as follows under some arbitrary top
|
|||||||
folder <root>:
|
folder <root>:
|
||||||
|
|
||||||
<root>\glib\<this-glib-source-tree>
|
<root>\glib\<this-glib-source-tree>
|
||||||
<root>\glib\dependencies\<PlatformName>\proxy-libintl
|
<root>\vs9\<PlatformName>
|
||||||
|
|
||||||
*this* file you are now reading is thus located at
|
*this* file you are now reading is thus located at
|
||||||
<root>\glib\<this-glib-source-tree>\build\win32\vs9\README.
|
<root>\glib\<this-glib-source-tree>\build\win32\vs9\README.
|
||||||
|
|
||||||
<PlatformName> is either Win32 or x64, as in VS9 project files.
|
<PlatformName> is either Win32 or x64, as in VS9 project files.
|
||||||
|
|
||||||
<root>\glib\dependencies\<PlatformName>\proxy-libintl contains the
|
You should unpack the proxy-libintl-dev zip file into
|
||||||
unpacked proxy-libintl zip file, so that for instance libintl.h is at
|
<root>\vs9\<PlatformName>, so that for instance libintl.h end up at
|
||||||
<root>\glib\dependencies\<PlatformName>\proxy-libintl\include\libintl.h.
|
<root>\vs9\<PlatformName>\include\libintl.h.
|
||||||
|
|
||||||
|
The "install" project will copy build results and headers into their
|
||||||
|
appropriate location under <root>\vs9\<PlatformName>. For instance,
|
||||||
|
built DLLs go into <root>\vs9\<PlatformName>\bin, built LIBs into
|
||||||
|
<root>\vs9\<PlatformName>\lib and GLib headers into
|
||||||
|
<root>\vs9\<PlatformName>\include\glib-2.0. This is then from where
|
||||||
|
project files higher in the stack are supposed to look for them, not
|
||||||
|
from a specific GLib source tree.
|
||||||
|
|
||||||
--Tor Lillqvist <tml@iki.fi>
|
--Tor Lillqvist <tml@iki.fi>
|
||||||
|
@ -8,14 +8,14 @@
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
AdditionalIncludeDirectories="../../..;../../../glib;../../../../dependencies/$(PlatformName)/proxy-libintl/include"
|
AdditionalIncludeDirectories="..\..\..;..\..\..\glib;$(GlibEtcInstallRoot)\include"
|
||||||
PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_DEPRECATED"
|
PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_DEPRECATED"
|
||||||
ForcedIncludeFiles="msvc_recommended_pragmas.h"
|
ForcedIncludeFiles="msvc_recommended_pragmas.h"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="intl.lib"
|
AdditionalDependencies="intl.lib"
|
||||||
AdditionalLibraryDirectories="../../../../dependencies/$(PlatformName)/proxy-libintl/lib"
|
AdditionalLibraryDirectories="$(GlibEtcInstallRoot)\lib"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
@ -36,12 +36,14 @@ copy ..\..\..\gmodule\gmoduleconf.h.win32 ..\..\..\gmodule\gmoduleconf.h
&#
|
|||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GlibDoInstall"
|
Name="GlibDoInstall"
|
||||||
Value="
|
Value="
|
||||||
|
mkdir $(OutDir)

|
||||||
mkdir $(OutDir)\bin

|
mkdir $(OutDir)\bin

|
||||||
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*.dll $(OutDir)\bin

|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*.dll $(OutDir)\bin

|
||||||
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\glib-genmarshal.exe $(OutDir)\bin

|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\glib-genmarshal.exe $(OutDir)\bin

|
||||||
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gspawn-win32-helper*.exe $(OutDir)\bin

|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gspawn-win32-helper*.exe $(OutDir)\bin

|
||||||
|
|
||||||
mkdir $(OutDir)\include\glib-2.0\glib

|
mkdir $(OutDir)\include\glib-2.0\glib

|
||||||
|
copy ..\..\..\msvc_recommended_pragmas.h $(OutDir)\include\glib-2.0

|
||||||
copy ..\..\..\glib\glib.h $(OutDir)\include\glib-2.0

|
copy ..\..\..\glib\glib.h $(OutDir)\include\glib-2.0

|
||||||
copy ..\..\..\gmodule\gmodule.h $(OutDir)\include\glib-2.0

|
copy ..\..\..\gmodule\gmodule.h $(OutDir)\include\glib-2.0

|
||||||
copy ..\..\..\glib\glib-object.h $(OutDir)\include\glib-2.0

|
copy ..\..\..\glib\glib-object.h $(OutDir)\include\glib-2.0

|
||||||
@ -78,6 +80,7 @@ copy ..\..\..\glib\gmessages.h $(OutDir)\include\glib-2.0\glib

|
|||||||
copy ..\..\..\glib\gnode.h $(OutDir)\include\glib-2.0\glib

|
copy ..\..\..\glib\gnode.h $(OutDir)\include\glib-2.0\glib

|
||||||
copy ..\..\..\glib\goption.h $(OutDir)\include\glib-2.0\glib

|
copy ..\..\..\glib\goption.h $(OutDir)\include\glib-2.0\glib

|
||||||
copy ..\..\..\glib\gpattern.h $(OutDir)\include\glib-2.0\glib

|
copy ..\..\..\glib\gpattern.h $(OutDir)\include\glib-2.0\glib

|
||||||
|
copy ..\..\..\glib\gpoll.h $(OutDir)\include\glib-2.0\glib

|
||||||
copy ..\..\..\glib\gprimes.h $(OutDir)\include\glib-2.0\glib

|
copy ..\..\..\glib\gprimes.h $(OutDir)\include\glib-2.0\glib

|
||||||
copy ..\..\..\glib\gprintf.h $(OutDir)\include\glib-2.0\glib

|
copy ..\..\..\glib\gprintf.h $(OutDir)\include\glib-2.0\glib

|
||||||
copy ..\..\..\glib\gqsort.h $(OutDir)\include\glib-2.0\glib

|
copy ..\..\..\glib\gqsort.h $(OutDir)\include\glib-2.0\glib

|
||||||
@ -127,6 +130,7 @@ copy ..\..\..\gobject\gvaluetypes.h $(OutDir)\include\glib-2.0\gobject
�
|
|||||||
|
|
||||||
mkdir $(OutDir)\include\glib-2.0\gio

|
mkdir $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gappinfo.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gappinfo.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gasyncinitable.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gasyncresult.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gasyncresult.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gbufferedinputstream.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gbufferedinputstream.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gbufferedoutputstream.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gbufferedoutputstream.h $(OutDir)\include\glib-2.0\gio

|
||||||
@ -143,12 +147,16 @@ copy ..\..\..\gio\gfileenumerator.h $(OutDir)\include\glib-2.0\gio

|
|||||||
copy ..\..\..\gio\gfileicon.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gfileicon.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gfileinfo.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gfileinfo.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gfileinputstream.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gfileinputstream.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gfileiostream.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gfilemonitor.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gfilemonitor.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gfilenamecompleter.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gfilenamecompleter.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gfileoutputstream.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gfileoutputstream.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gfilterinputstream.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gfilterinputstream.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gfilteroutputstream.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gfilteroutputstream.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gicon.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gicon.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\ginetaddress.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\ginetsocketaddress.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\ginitable.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\ginputstream.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\ginputstream.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gio.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gio.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gioenums.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gioenums.h $(OutDir)\include\glib-2.0\gio

|
||||||
@ -156,6 +164,7 @@ copy ..\..\..\gio\gioenumtypes.h $(OutDir)\include\glib-2.0\gio

|
|||||||
copy ..\..\..\gio\gioerror.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gioerror.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\giomodule.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\giomodule.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gioscheduler.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gioscheduler.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\giostream.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\giotypes.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\giotypes.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gloadableicon.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gloadableicon.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gmemoryinputstream.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gmemoryinputstream.h $(OutDir)\include\glib-2.0\gio

|
||||||
@ -163,10 +172,25 @@ copy ..\..\..\gio\gmemoryoutputstream.h $(OutDir)\include\glib-2.0\gio
�
|
|||||||
copy ..\..\..\gio\gmount.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gmount.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gmountoperation.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gmountoperation.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gnativevolumemonitor.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gnativevolumemonitor.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gnetworkaddress.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gnetworkservice.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\goutputstream.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\goutputstream.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gresolver.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gseekable.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gseekable.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gsimpleasyncresult.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gsimpleasyncresult.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gsocket.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gsocketaddress.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gsocketaddressenumerator.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gsocketclient.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gsocketconnectable.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gsocketconnection.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gsocketcontrolmessage.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gsocketlistener.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gsocketservice.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gsrvtarget.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gtcpconnection.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gthemedicon.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gthemedicon.h $(OutDir)\include\glib-2.0\gio

|
||||||
|
copy ..\..\..\gio\gthreadedsocketservice.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gvfs.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gvfs.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gvolume.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gvolume.h $(OutDir)\include\glib-2.0\gio

|
||||||
copy ..\..\..\gio\gvolumemonitor.h $(OutDir)\include\glib-2.0\gio

|
copy ..\..\..\gio\gvolumemonitor.h $(OutDir)\include\glib-2.0\gio

|
||||||
@ -219,4 +243,8 @@ copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*-2.0.lib $(OutDir)\
|
|||||||
Name="GlibDllSuffix"
|
Name="GlibDllSuffix"
|
||||||
Value="$(GlibSeparateVS9DllSuffix)"
|
Value="$(GlibSeparateVS9DllSuffix)"
|
||||||
/>
|
/>
|
||||||
|
<UserMacro
|
||||||
|
Name="GlibEtcInstallRoot"
|
||||||
|
Value="..\..\..\..\..\vs9\$(PlatformName)"
|
||||||
|
/>
|
||||||
</VisualStudioPropertySheet>
|
</VisualStudioPropertySheet>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<Configuration
|
<Configuration
|
||||||
Name="Debug|Win32"
|
Name="Debug|Win32"
|
||||||
InheritedPropertySheets=".\glib.vsprops"
|
InheritedPropertySheets=".\glib.vsprops"
|
||||||
OutputDirectory="..\..\..\..\dependencies\$(PlatformName)\vs9"
|
OutputDirectory="$(GlibEtcInstallRoot)"
|
||||||
ConfigurationType="10"
|
ConfigurationType="10"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
DeleteExtensionsOnClean=""
|
DeleteExtensionsOnClean=""
|
||||||
@ -35,7 +35,7 @@
|
|||||||
<Configuration
|
<Configuration
|
||||||
Name="Debug|x64"
|
Name="Debug|x64"
|
||||||
InheritedPropertySheets=".\glib.vsprops"
|
InheritedPropertySheets=".\glib.vsprops"
|
||||||
OutputDirectory="..\..\..\..\dependencies\$(PlatformName)\vs9"
|
OutputDirectory="$(GlibEtcInstallRoot)"
|
||||||
ConfigurationType="10"
|
ConfigurationType="10"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
DeleteExtensionsOnClean=""
|
DeleteExtensionsOnClean=""
|
||||||
@ -48,7 +48,7 @@
|
|||||||
<Configuration
|
<Configuration
|
||||||
Name="Release|Win32"
|
Name="Release|Win32"
|
||||||
InheritedPropertySheets=".\glib.vsprops"
|
InheritedPropertySheets=".\glib.vsprops"
|
||||||
OutputDirectory="..\..\..\..\dependencies\$(PlatformName)\vs9"
|
OutputDirectory="$(GlibEtcInstallRoot)"
|
||||||
ConfigurationType="10"
|
ConfigurationType="10"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
WholeProgramOptimization="1"
|
WholeProgramOptimization="1"
|
||||||
@ -62,7 +62,7 @@
|
|||||||
<Configuration
|
<Configuration
|
||||||
Name="Release|x64"
|
Name="Release|x64"
|
||||||
InheritedPropertySheets=".\glib.vsprops"
|
InheritedPropertySheets=".\glib.vsprops"
|
||||||
OutputDirectory="..\..\..\..\dependencies\$(PlatformName)\vs9"
|
OutputDirectory="$(GlibEtcInstallRoot)"
|
||||||
ConfigurationType="10"
|
ConfigurationType="10"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
WholeProgramOptimization="1"
|
WholeProgramOptimization="1"
|
||||||
|
Loading…
Reference in New Issue
Block a user