mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 11:56:16 +01:00
a00e7ed32e
glib-genmarshal is now a Python script instead of a compiled program, so we need to: -Remove the projects that are used to build the glib-genmarshal sources. -Generate the full glib-genmarshal Python script from glib-genmarshal.in -Make Python a hard build-time requirement, since we use this tool in many parts of the stack (and it is the case for glib-mkenums). -Tell people in the Visual Studio build README.txt files that Python 2.7.x or 3.x is now required for the build/"install".
104 lines
6.5 KiB
XML
104 lines
6.5 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioPropertySheet
|
|
ProjectType="Visual C++"
|
|
Version="8.00"
|
|
Name="glibinstallprops"
|
|
InheritedPropertySheets=".\glib-build-defines.vsprops"
|
|
>
|
|
<UserMacro
|
|
Name="GlibDoInstall"
|
|
Value="
|
|
mkdir $(CopyDir)

|
|
mkdir $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\$(GlibDllPrefix)glib$(GlibDllSuffix).dll $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\$(GlibDllPrefix)glib$(GlibDllSuffix).pdb $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\$(GlibDllPrefix)gthread$(GlibDllSuffix).dll $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\$(GlibDllPrefix)gthread$(GlibDllSuffix).pdb $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\$(GlibDllPrefix)gmodule$(GlibDllSuffix).dll $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\$(GlibDllPrefix)gmodule$(GlibDllSuffix).pdb $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\$(GlibDllPrefix)gobject$(GlibDllSuffix).dll $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\$(GlibDllPrefix)gobject$(GlibDllSuffix).pdb $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\$(GlibDllPrefix)gio$(GlibDllSuffix).dll $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\$(GlibDllPrefix)gio$(GlibDllSuffix).pdb $(CopyDir)\bin

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

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gspawn-win*-helper*.pdb $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\glib-compile-schemas.exe $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\glib-compile-schemas.pdb $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gsettings.exe $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gsettings.pdb $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\glib-compile-resources.exe $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\glib-compile-resources.pdb $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gresource.exe $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gresource.pdb $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gio-querymodules.exe $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gio-querymodules.pdb $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gdbus.exe $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gdbus.pdb $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gio.exe $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gio.pdb $(CopyDir)\bin

|
|
copy ..\..\gobject\glib-mkenums $(CopyDir)\bin

|
|
copy ..\..\gobject\glib-genmarshal $(CopyDir)\bin

|
|
copy ..\..\gio\gdbus-2.0\codegen\gdbus-codegen $(CopyDir)\bin

|
|
|
|
mkdir $(CopyDir)\include\glib-$(ApiVersion)\glib\deprecated

|
|
copy ..\..\msvc_recommended_pragmas.h $(CopyDir)\include\glib-$(ApiVersion)

|
|
copy ..\..\glib\glib.h $(CopyDir)\include\glib-$(ApiVersion)

|
|
copy ..\..\glib\glib-object.h $(CopyDir)\include\glib-$(ApiVersion)

|
|
copy ..\..\gmodule\gmodule.h $(CopyDir)\include\glib-$(ApiVersion)

|
|
#include "glib.headers"
|
|
|
|
mkdir $(CopyDir)\include\glib-$(ApiVersion)\gobject

|
|
#include "gobject.headers"
|
|
copy ..\..\gobject\gobjectnotifyqueue.c $(CopyDir)\include\glib-$(ApiVersion)\gobject

|
|
|
|
mkdir $(CopyDir)\include\glib-$(ApiVersion)\gio

|
|
#include "gio.headers"
|
|
|
|
mkdir $(CopyDir)\include\gio-win32-$(ApiVersion)\gio

|
|
copy ..\..\gio\gwin32inputstream.h $(CopyDir)\include\gio-win32-$(ApiVersion)\gio

|
|
copy ..\..\gio\gwin32outputstream.h $(CopyDir)\include\gio-win32-$(ApiVersion)\gio

|
|
|
|
mkdir $(CopyDir)\lib\glib-$(ApiVersion)\include

|
|
copy ..\..\glib\glibconfig.h $(CopyDir)\lib\glib-$(ApiVersion)\include

|
|
|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\glib-$(ApiVersion).lib $(CopyDir)\lib

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gthread-$(ApiVersion).lib $(CopyDir)\lib

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gmodule-$(ApiVersion).lib $(CopyDir)\lib

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gobject-$(ApiVersion).lib $(CopyDir)\lib

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\gio-$(ApiVersion).lib $(CopyDir)\lib

|
|
|
|
mkdir $(CopyDir)\lib\pkgconfig

|
|
copy ..\gio-windows-2.0.pc $(CopyDir)\lib\pkgconfig

|
|
copy ..\gio-2.0.pc $(CopyDir)\lib\pkgconfig

|
|
copy ..\gobject-2.0.pc $(CopyDir)\lib\pkgconfig

|
|
copy ..\gmodule-no-export-2.0.pc $(CopyDir)\lib\pkgconfig

|
|
copy ..\gmodule-export-2.0.pc $(CopyDir)\lib\pkgconfig

|
|
copy ..\gmodule-2.0.pc $(CopyDir)\lib\pkgconfig

|
|
copy ..\gthread-2.0.pc $(CopyDir)\lib\pkgconfig

|
|
copy ..\glib-2.0.pc $(CopyDir)\lib\pkgconfig

|
|
|
|
mkdir $(CopyDir)\share\glib-$(ApiVersion)\schemas

|
|
copy ..\..\gio\gschema.dtd $(CopyDir)\share\glib-$(ApiVersion)\schemas

|
|
|
|
mkdir $(CopyDir)\share\glib-$(ApiVersion)\codegen

|
|
copy ..\..\gio\gdbus-2.0\codegen\*.py $(CopyDir)\share\glib-$(ApiVersion)\codegen

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="GenGLibMKEnums"
|
|
Value="$(PythonPath)\python.exe ..\gen_util_scripts.py --type=glib-mkenums --version=$(GlibVersion)"
|
|
/>
|
|
<UserMacro
|
|
Name="GenGLibGenmarshal"
|
|
Value="$(PythonPath)\python.exe ..\gen_util_scripts.py --type=glib-genmarshal --version=$(GlibVersion)"
|
|
/>
|
|
<UserMacro
|
|
Name="GenGDBusCodegen"
|
|
Value="$(PythonPath)\python.exe ..\gen_util_scripts.py --type=gdbus-codegen --version=$(GlibVersion)"
|
|
/>
|
|
<UserMacro
|
|
Name="GlibGenPC"
|
|
Value="(if not exist $(CopyDir) mkdir $(CopyDir)) & ($(PythonPath)\python.exe ..\glibpc.py --prefix=$(CopyDir) --version=$(GlibVersion))"
|
|
/>
|
|
</VisualStudioPropertySheet>
|