mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 22:30:22 +00:00
e7e57507b1
...for all files except the README.txt and the .sln files, which have to have DOS/Windows line endings. This makes application of patches, when applicable, easier.
45 lines
1.4 KiB
XML
45 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<_PropertySheetDisplayName>gtkprebuildprops</_PropertySheetDisplayName>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup>
|
|
<PreBuildEvent>
|
|
<Command>
|
|
if exist ..\..\..\config.h goto DONE_CONFIG_H
|
|
|
|
copy ..\..\..\config.h.win32 ..\..\..\config.h
|
|
|
|
:DONE_CONFIG_H
|
|
|
|
|
|
if exist ..\..\..\MSVC_$(Configuration) 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 $(Configuration)\$(Platform)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll del $(Configuration)\$(Platform)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll
|
|
|
|
if exist $(Configuration)\$(Platform)\bin\gdk-$(ApiVersion).lib del $(Configuration)\$(Platform)\bin\gdk-$(ApiVersion).lib
|
|
|
|
if "$(Configuration)" == "Release" del ..\..\..\MSVC_Debug
|
|
|
|
if "$(Configuration)" == "Debug" del ..\..\..\MSVC_Release
|
|
|
|
copy ..\..\..\gdk\gdkconfig.h.win32 ..\..\..\gdk\gdkconfig.h
|
|
|
|
copy ..\..\..\gdk\gdkconfig.h.win32 ..\..\..\GDK_WIN32ONLY_BUILD
|
|
|
|
echo $(Configuration) > ..\..\..\MSVC_$(Configuration)
|
|
|
|
:DONE_GDKCONFIG_H
|
|
|
|
</Command>
|
|
</PreBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
</Project> |