mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 16:50:11 +00:00
46802d33e1
Add support to build the introspection files for GdkWin32, as done recently in the autotools builds and clean up the NMake Makefile for building the introspection files a bit. For some reason, gdk_win32_display_manager_get_type() was not exported in gdk-3.0.lib, force its export, so that the GdkWin32-3.0.gir can be built properly with the Visual C++ builds. This is a known problem that some symbols in static libraries that are linked into a DLL in Visual C++, even if they were marked with __declspec(dllexport) via _GDK_EXTERN.
50 lines
1.3 KiB
XML
50 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="gtk-build-defines.props" />
|
|
</ImportGroup>
|
|
<PropertyGroup>
|
|
<_PropertySheetDisplayName>gtkcopygdkbroadwayprops</_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)gdk$(GtkDllSuffix).dll .\Release\$(Platform)\bin\
|
|
|
|
copy /b $(Configuration)\$(Platform)\bin\gdk-$(ApiVersion).lib .\Release\$(Platform)\bin\
|
|
|
|
goto END
|
|
|
|
|
|
:DoDebug
|
|
|
|
mkdir .\Debug\$(Platform)\bin
|
|
|
|
copy /b $(Configuration)\$(Platform)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll .\Debug\$(Platform)\bin\
|
|
|
|
copy /b $(Configuration)\$(Platform)\bin\gdk-$(ApiVersion).lib .\Debug\$(Platform)\bin\
|
|
|
|
goto END
|
|
|
|
|
|
:END
|
|
</Command>
|
|
</PostBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
</Project> |