mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 16:50:11 +00:00
85 lines
2.9 KiB
Plaintext
85 lines
2.9 KiB
Plaintext
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||
|
<ImportGroup Label="PropertySheets">
|
||
|
<Import Project="gtk-build-defines.props" />
|
||
|
</ImportGroup>
|
||
|
<PropertyGroup Label="UserMacros">
|
||
|
<GenConfigH>
|
||
|
copy ..\..\..\config.h.win32 ..\..\..\config.h
|
||
|
</GenConfigH>
|
||
|
<GenGdkConfigHWin32>
|
||
|
if exist ..\..\..\MSVC_$(Configuration) goto DONE_GDKCONFIG_H
|
||
|
|
||
|
if exist ..\..\..\gdk\gdkconfig.h del ..\..\..\gdk\gdkconfig.h
|
||
|
|
||
|
if exist ..\..\..\GDK_BROADWAY_BUILD del ..\..\..\GDK_BROADWAY_BUILD
|
||
|
|
||
|
if exist ..\..\..\MSVC_$(Configuration)_Broadway del ..\..\..\MSVC_$(Configuration)_Broadway
|
||
|
|
||
|
if exist $(Configuration)\$(Platform)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll del $(Configuration)\$(Platform)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll
|
||
|
|
||
|
if exist $(Configuration)\$(Platform)\bin\gdk-$(ApiVersion).lib del $(Configuration)\$(Platform)\bin\gdk-$(ApiVersion).lib
|
||
|
|
||
|
if "$(Configuration)" == "Release" del ..\..\..\MSVC_Debug
|
||
|
|
||
|
if "$(Configuration)" == "Debug" del ..\..\..\MSVC_Release
|
||
|
|
||
|
copy ..\..\..\gdk\gdkconfig.h.win32 ..\..\..\gdk\gdkconfig.h
|
||
|
|
||
|
copy ..\..\..\gdk\gdkconfig.h.win32 ..\..\..\GDK_WIN32ONLY_BUILD
|
||
|
|
||
|
echo $(Configuration) > ..\..\..\MSVC_$(Configuration)
|
||
|
|
||
|
:DONE_GDKCONFIG_H
|
||
|
</GenGdkConfigHWin32>
|
||
|
<GenGdkConfigHBroadway>
|
||
|
if exist ..\..\..\MSVC_$(Configuration) goto DONE_GDKCONFIG_H
|
||
|
|
||
|
|
||
|
if exist ..\..\..\gdk\gdkconfig.h del ..\..\..\gdk\gdkconfig.h
|
||
|
|
||
|
if exist ..\..\..\GDK_WIN32ONLY_BUILD del ..\..\..\GDK_WIN32ONLY_BUILD
|
||
|
|
||
|
if exist ..\..\..\MSVC_Release del ..\..\..\MSVC_Release
|
||
|
|
||
|
if exist ..\..\..\MSVC_Debug del ..\..\..\MSVC_Debug
|
||
|
|
||
|
|
||
|
if "$(Configuration)" == "Release_Broadway" del ..\..\..\MSVC_Debug_Broadway
|
||
|
|
||
|
if "$(Configuration)" == "Debug_Broadway" del ..\..\..\MSVC_Release_Broadway
|
||
|
|
||
|
copy ..\..\..\gdk\gdkconfig.h.win32_broadway ..\..\..\gdk\gdkconfig.h
|
||
|
|
||
|
copy ..\..\..\gdk\gdkconfig.h.win32_broadway ..\..\..\GDK_BROADWAY_BUILD
|
||
|
|
||
|
echo $(Configuration) > ..\..\..\MSVC_$(Configuration)
|
||
|
|
||
|
:DONE_GDKCONFIG_H
|
||
|
</GenGdkConfigHBroadway>
|
||
|
<GenerateGtkDbusBuiltSources>
|
||
|
cd ..\..\..\gtk
|
||
|
|
||
|
python $(GlibEtcInstallRoot)\bin\gdbus-codegen --interface-prefix org.Gtk. --c-namespace _Gtk --generate-c-code gtkdbusgenerated ./gtkdbusinterfaces.xml
|
||
|
|
||
|
cd $(SolutionDir)
|
||
|
</GenerateGtkDbusBuiltSources>
|
||
|
</PropertyGroup>
|
||
|
<PropertyGroup>
|
||
|
<_PropertySheetDisplayName>gtkgensrcsprops</_PropertySheetDisplayName>
|
||
|
</PropertyGroup>
|
||
|
<ItemGroup>
|
||
|
<BuildMacro Include="GenConfigH">
|
||
|
<Value>$(GenConfigH)</Value>
|
||
|
</BuildMacro>
|
||
|
<BuildMacro Include="GenGdkConfigHWin32">
|
||
|
<Value>$(GenGdkConfigHWin32)</Value>
|
||
|
</BuildMacro>
|
||
|
<BuildMacro Include="GenGdkConfigHBroadway">
|
||
|
<Value>$(GenGdkConfigHBroadway)</Value>
|
||
|
</BuildMacro>
|
||
|
<BuildMacro Include="GenerateGtkDbusBuiltSources">
|
||
|
<Value>$(GenerateGtkDbusBuiltSources)</Value>
|
||
|
</BuildMacro>
|
||
|
</ItemGroup>
|
||
|
</Project>
|