mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 04:30:11 +00:00
f60e42d726
-For the binary "installation", look for the DLL files with their file names consistent with the ones that are generated with the respective Visual Studio projects. -Remove any stray GDK DLLs that were left over from a Broadway-enabled GDK when building a non-Broadway-enabled GTK+ binary set.
29 lines
1.6 KiB
XML
29 lines
1.6 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioPropertySheet
|
|
ProjectType="Visual C++"
|
|
Version="8.00"
|
|
Name="gtkprebuildprops"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
CommandLine="
|
|
if exist ..\..\..\config.h goto DONE_CONFIG_H

|
|
copy ..\..\..\config.h.win32 ..\..\..\config.h

|
|
:DONE_CONFIG_H

|
|
|
|
if exist ..\..\..\MSVC_$(ConfigurationName) 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_Release_Broadway del ..\..\..\MSVC_Release_Broadway

|
|
if exist ..\..\..\MSVC_Debug_Broadway del ..\..\..\MSVC_Debug_Broadway

|
|
if exist $(ConfigurationName)\$(PlatformName)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll del $(ConfigurationName)\$(PlatformName)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll

|
|
if exist $(ConfigurationName)\$(PlatformName)\bin\gdk-$(ApiVersion).lib del $(ConfigurationName)\$(PlatformName)\bin\gdk-$(ApiVersion).lib

|
|
if "$(ConfigurationName)" == "Release" del ..\..\..\MSVC_Debug

|
|
if "$(ConfigurationName)" == "Debug" del ..\..\..\MSVC_Release

|
|
copy ..\..\..\gdk\gdkconfig.h.win32 ..\..\..\gdk\gdkconfig.h

|
|
copy ..\..\..\gdk\gdkconfig.h.win32 ..\..\..\GDK_WIN32ONLY_BUILD

|
|
echo $(ConfigurationName) > ..\..\..\MSVC_$(ConfigurationName)

|
|
:DONE_GDKCONFIG_H

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