mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-05 18:31:09 +00:00
493ad0cad4
Update the project configs to build GDK/GSK as a static lib and include them into the GTK+ DLL as a monolithic DLL, which is in line with what is done in the autotools builds, since the code changes needed for Windows builds for a monolithic build are now in place.
37 lines
1.3 KiB
XML
37 lines
1.3 KiB
XML
<?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="gtk4-gen-srcs.props" />
|
|
</ImportGroup>
|
|
<PropertyGroup>
|
|
<_PropertySheetDisplayName>gtk4copygdkbroadwayprops</_PropertySheetDisplayName>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup>
|
|
<Link>
|
|
<AdditionalOptions>/EXPORT:gdk_win32_display_manager_get_type</AdditionalOptions>
|
|
</Link>
|
|
<PostBuildEvent>
|
|
<Command>
|
|
if "$(Configuration)" == "Release" goto END
|
|
if "$(Configuration)" == "Debug" goto END
|
|
if "$(Configuration)" == "Release_Broadway" goto DoRelease
|
|
if "$(Configuration)" == "Debug_Broadway" goto DoDebug
|
|
|
|
:DoRelease
|
|
mkdir .\Release\$(Platform)\bin
|
|
copy /b $(Configuration)\$(Platform)\bin\$(GtkDllPrefix)gtk$(GtkDllSuffix).dll .\Release\$(Platform)\bin\
|
|
copy /b $(Configuration)\$(Platform)\bin\gtk-$(ApiVersion).lib .\Release\$(Platform)\bin\
|
|
goto END
|
|
|
|
:DoDebug
|
|
mkdir .\Debug\$(Platform)\bin
|
|
copy /b $(Configuration)\$(Platform)\bin\$(GtkDllPrefix)gtk$(GtkDllSuffix).dll .\Debug\$(Platform)\bin\
|
|
copy /b $(Configuration)\$(Platform)\bin\gtk-$(ApiVersion).lib .\Debug\$(Platform)\bin\
|
|
goto END
|
|
|
|
:END
|
|
</Command>
|
|
</PostBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
</Project>
|