forked from AuroraMiddleware/gtk
367b4eb0ff
Add a utility project to get config.h and gdkconfig.h from their *.h.win32 (or win32_broadway, if applicable) counterparts, using custom build rules, so that these "generated" files can also be removed on clean and "regenerated" upon update. This also enables the removal of configs in certain projects that isn't really needed as a result. Also update and merge the projects and property sheets to include a single property sheet that it needs, which will then in turn include the other property sheets that is needed, so that things are cleaner.
47 lines
1.2 KiB
XML
47 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="gtk-build-defines.props" />
|
|
</ImportGroup>
|
|
<PropertyGroup>
|
|
<_PropertySheetDisplayName>gtkcopygdkbroadwayprops</_PropertySheetDisplayName>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup>
|
|
<PostBuildEvent>
|
|
<Command>
|
|
if "$(Configuration)" == "Release" goto END
|
|
|
|
if "$(Configuration)" == "Debug" goto END
|
|
|
|
if "$(Configuration)" == "Release_Broadway" goto DoRelease
|
|
|
|
if "$(Configuration)" == "Debug_Broadway" goto DoDebug
|
|
|
|
|
|
:DoRelease
|
|
|
|
mkdir .\Release\$(Platform)\bin
|
|
|
|
copy /b $(Configuration)\$(Platform)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll .\Release\$(Platform)\bin\
|
|
|
|
copy /b $(Configuration)\$(Platform)\bin\gdk-$(ApiVersion).lib .\Release\$(Platform)\bin\
|
|
|
|
goto END
|
|
|
|
|
|
:DoDebug
|
|
|
|
mkdir .\Debug\$(Platform)\bin
|
|
|
|
copy /b $(Configuration)\$(Platform)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll .\Debug\$(Platform)\bin\
|
|
|
|
copy /b $(Configuration)\$(Platform)\bin\gdk-$(ApiVersion).lib .\Debug\$(Platform)\bin\
|
|
|
|
goto END
|
|
|
|
|
|
:END
|
|
</Command>
|
|
</PostBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
</Project> |