forked from AuroraMiddleware/gtk
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.
33 lines
1.2 KiB
XML
33 lines
1.2 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioPropertySheet
|
|
ProjectType="Visual C++"
|
|
Version="8.00"
|
|
Name="gtkcopygdkbroadwayprops"
|
|
InheritedPropertySheets=".\gtk-build-defines.vsprops"
|
|
>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalOptions="/EXPORT:gdk_win32_display_manager_get_type"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
CommandLine="
|
|
if "$(ConfigurationName)" == "Release_Broadway" goto DoRelease

|
|
if "$(ConfigurationName)" == "Debug_Broadway" goto DoDebug

|
|
|
|
:DoRelease

|
|
mkdir .\Release\$(PlatformName)\bin

|
|
copy /b $(ConfigurationName)\$(PlatformName)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll .\Release\$(PlatformName)\bin\

|
|
copy /b $(ConfigurationName)\$(PlatformName)\bin\gdk-$(ApiVersion).lib .\Release\$(PlatformName)\bin\

|
|
goto END

|
|
|
|
:DoDebug

|
|
mkdir .\Debug\$(PlatformName)\bin

|
|
copy /b $(ConfigurationName)\$(PlatformName)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll .\Debug\$(PlatformName)\bin\

|
|
copy /b $(ConfigurationName)\$(PlatformName)\bin\gdk-$(ApiVersion).lib .\Debug\$(PlatformName)\bin\

|
|
goto END

|
|
|
|
:END

|
|
"
|
|
/>
|
|
</VisualStudioPropertySheet> |