forked from AuroraMiddleware/gtk
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.
29 lines
1.5 KiB
XML
29 lines
1.5 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> |