mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 09:50:06 +00:00
b264d27c4f
We need to copy the GDK .lib/.dll from Release_Broadway\<Platform>\bin or Debug_Broadway\<Platform>\bin to Release\<Platform>\bin or Debug\<Platform>\bin respectively during the build of Broadway flavors of GDK, as the MSVC introspection builds expects the GDK .lib/.dll to be in Release\<Platform>\bin or Debug\<Platform>\bin. Use a new property sheet to do so for Broadway builds of GDK-during the builds of Win32-only GDK, the broadway builds of the GDK .lib/.dll would be cleared out prior to the build of the Win32-only GDK.
30 lines
1.3 KiB
XML
30 lines
1.3 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioPropertySheet
|
|
ProjectType="Visual C++"
|
|
Version="8.00"
|
|
Name="gtkcopygdkbroadwayprops"
|
|
>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
CommandLine="
|
|
if "$(ConfigurationName)" == "Release" goto END

|
|
if "$(ConfigurationName)" == "Debug" goto END

|
|
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> |