As we are likely to have GTK+-2.x around for some time, revamp the Visual Studio 2008 projects like what was done for rest of the GTK+ stack, namely: -Split the property sheets, in a way like what was done for the rest of the stack. Also clean up the resulting property sheets a bit, and update the projects to use these property sheets. -Use UNIX line endings for all projects and property sheets, to ease future application of patches. -Make the copying of config.h.win32 and gdkconfig.h.win32 into custom build rules, so that they may be removed properly and re-copied during change and update. Similar updates will be applied for the Visual Studio 2010 projects ASAP.
38 lines
1.3 KiB
XML
38 lines
1.3 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioPropertySheet
|
|
ProjectType="Visual C++"
|
|
Version="8.00"
|
|
Name="gtkgensrcsprops"
|
|
InheritedPropertySheets=".\gtk-build-defines.vsprops"
|
|
>
|
|
<UserMacro
|
|
Name="CopyConfigH"
|
|
Value="copy ..\..\..\config.h.win32 ..\..\..\config.h"
|
|
/>
|
|
<UserMacro
|
|
Name="CopyGdkConfigH"
|
|
Value="copy ..\..\..\gdk\gdkconfig.h.win32 ..\..\..\gdk\gdkconfig.h"
|
|
/>
|
|
<UserMacro
|
|
Name="GtkGenerateGdkDef"
|
|
Value="
|
|
echo EXPORTS > $(DefDir)\gdk.def

|
|
cl /EP -DGDK_WINDOWING_WIN32 -DALL_FILES -DG_GNUC_CONST= ..\..\..\gdk\gdk.symbols >> $(DefDir)\gdk.def

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="GtkGenerateGtkDefW64"
|
|
Value="
|
|
echo EXPORTS > $(DefDir)\gtk.def

|
|
cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -D_WIN64 -DALL_FILES -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_PRINTF=;G_GNUC_PRINTF ..\..\..\gtk\gtk.symbols >> $(DefDir)\gtk.def

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="GtkGenerateGtkDef"
|
|
Value="
|
|
echo EXPORTS > $(DefDir)\gtk.def

|
|
cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_PRINTF=;G_GNUC_PRINTF ..\..\..\gtk\gtk.symbols >> $(DefDir)\gtk.def

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