MSVC Projects: "Generate" the gtk-inspector Projects

Like the GDK and GTK portions, use autotools scripts to generate the
complete projects for gtk-inspector as sources there seem to change from
time to time.

It might be so that this, like the a11y sources, will be referenced from
the main Makefile.am of GTK directly, but just do this so that the
projects can build properly.
This commit is contained in:
Chun-wei Fan 2014-06-03 17:03:40 +08:00
parent dd4bc9fd09
commit 61b9bcf1d5
7 changed files with 57 additions and 76 deletions

View File

@ -19,7 +19,9 @@ EXTRA_DIST += \
gtk3-demo-application.vcxproj \
gtk3-demo-application.vcxproj.filters \
gtk-inspector.vcxproj \
gtk-inspector.vcxprojin \
gtk-inspector.vcxproj.filters \
gtk-inspector.vcxproj.filtersin \
gailutil.vcxproj \
gailutil.vcxproj.filters \
install.vcxproj \

View File

@ -1,38 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx</Extensions>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\gtk\inspector\actions.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\button-path.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\classes-list.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\css-editor.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\data-list.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\general.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\init.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\inspect-button.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\object-hierarchy.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\prop-list.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\property-cell-renderer.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\python-hooks.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\python-shell.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\resource-list.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\resources.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\signals-list.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\visual.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\widget-tree.c"><Filter>Source Files</Filter></ClCompile>
<ClCompile Include="..\..\..\gtk\inspector\window.c"><Filter>Source Files</Filter></ClCompile>
</ItemGroup>
</Project>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx</Extensions>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
#include "libgtk-inspector.vs10.sourcefiles.filters"
</ItemGroup>
</Project>

View File

@ -117,25 +117,7 @@
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\gtk\inspector\actions.c" />
<ClCompile Include="..\..\..\gtk\inspector\button-path.c" />
<ClCompile Include="..\..\..\gtk\inspector\classes-list.c" />
<ClCompile Include="..\..\..\gtk\inspector\css-editor.c" />
<ClCompile Include="..\..\..\gtk\inspector\data-list.c" />
<ClCompile Include="..\..\..\gtk\inspector\general.c" />
<ClCompile Include="..\..\..\gtk\inspector\init.c" />
<ClCompile Include="..\..\..\gtk\inspector\inspect-button.c" />
<ClCompile Include="..\..\..\gtk\inspector\object-hierarchy.c" />
<ClCompile Include="..\..\..\gtk\inspector\prop-list.c" />
<ClCompile Include="..\..\..\gtk\inspector\property-cell-renderer.c" />
<ClCompile Include="..\..\..\gtk\inspector\python-hooks.c" />
<ClCompile Include="..\..\..\gtk\inspector\python-shell.c" />
<ClCompile Include="..\..\..\gtk\inspector\resource-list.c" />
<ClCompile Include="..\..\..\gtk\inspector\resources.c" />
<ClCompile Include="..\..\..\gtk\inspector\signals-list.c" />
<ClCompile Include="..\..\..\gtk\inspector\visual.c" />
<ClCompile Include="..\..\..\gtk\inspector\widget-tree.c" />
<ClCompile Include="..\..\..\gtk\inspector\window.c" />
#include "libgtk-inspector.vs10.sourcefiles"
</ItemGroup>
<ItemGroup>
<ProjectReference Include="gtk-prebuild.vcxproj">

View File

@ -12,6 +12,7 @@ EXTRA_DIST += \
gtk3-demo.vcproj \
gtk3-demo-application.vcproj \
gtk-inspector.vcproj \
gtk-inspector.vcprojin \
gailutil.vcproj \
install.vcproj \
broadwayd.vcproj \

View File

@ -124,25 +124,7 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File RelativePath="..\..\..\gtk\inspector\actions.c" />
<File RelativePath="..\..\..\gtk\inspector\button-path.c" />
<File RelativePath="..\..\..\gtk\inspector\classes-list.c" />
<File RelativePath="..\..\..\gtk\inspector\css-editor.c" />
<File RelativePath="..\..\..\gtk\inspector\data-list.c" />
<File RelativePath="..\..\..\gtk\inspector\general.c" />
<File RelativePath="..\..\..\gtk\inspector\init.c" />
<File RelativePath="..\..\..\gtk\inspector\inspect-button.c" />
<File RelativePath="..\..\..\gtk\inspector\object-hierarchy.c" />
<File RelativePath="..\..\..\gtk\inspector\prop-list.c" />
<File RelativePath="..\..\..\gtk\inspector\property-cell-renderer.c" />
<File RelativePath="..\..\..\gtk\inspector\python-hooks.c" />
<File RelativePath="..\..\..\gtk\inspector\python-shell.c" />
<File RelativePath="..\..\..\gtk\inspector\resource-list.c" />
<File RelativePath="..\..\..\gtk\inspector\resources.c" />
<File RelativePath="..\..\..\gtk\inspector\signals-list.c" />
<File RelativePath="..\..\..\gtk\inspector\visual.c" />
<File RelativePath="..\..\..\gtk\inspector\widget-tree.c" />
<File RelativePath="..\..\..\gtk\inspector\window.c" />
#include "libgtk-inspector.sourcefiles"
</Filter>
</Files>
</VisualStudioProject>

View File

@ -119,4 +119,36 @@ distclean-local:
rm -f $(MAINTAINERCLEANFILES); \
fi
dist-hook: $(top_builddir)/build/win32/vs9/gtk-inspector.vcproj $(top_builddir)/build/win32/vs10/gtk-inspector.vcxproj $(top_builddir)/build/win32/vs10/gtk-inspector.vcxproj.filters
$(top_builddir)/build/win32/vs9/gtk-inspector.vcproj: $(top_srcdir)/build/win32/vs9/gtk-inspector.vcprojin
for F in `echo $(libgtkinspector_la_SOURCES) | tr '/' '\\'`; do \
case $$F in \
*.c) echo ' <File RelativePath="..\..\..\gtk\inspector\'$$F'" />' \
;; \
esac; \
done >libgtk-inspector.sourcefiles
$(CPP) -P - <$(top_srcdir)/build/win32/vs9/gtk-inspector.vcprojin >$@
rm libgtk-inspector.sourcefiles
$(top_builddir)/build/win32/vs10/gtk-inspector.vcxproj: $(top_srcdir)/build/win32/vs10/gtk-inspector.vcxprojin
for F in `echo $(libgtkinspector_la_SOURCES) | tr '/' '\\'`; do \
case $$F in \
*.c) echo ' <ClCompile Include="..\..\..\gtk\inspector\'$$F'" />' \
;; \
esac; \
done >libgtk-inspector.vs10.sourcefiles
$(CPP) -P - <$(top_srcdir)/build/win32/vs10/gtk-inspector.vcxprojin >$@
rm libgtk-inspector.vs10.sourcefiles
$(top_builddir)/build/win32/vs10/gtk-inspector.vcxproj.filters: $(top_srcdir)/build/win32/vs10/gtk-inspector.vcxproj.filtersin
for F in `echo $(libgtkinspector_la_SOURCES) | tr '/' '\\'`; do \
case $$F in \
*.c) echo ' <ClCompile Include="..\..\..\gtk\inspector\'$$F'"><Filter>Source Files</Filter></ClCompile>' \
;; \
esac; \
done >libgtk-inspector.vs10.sourcefiles.filters
$(CPP) -P - <$(top_srcdir)/build/win32/vs10/gtk-inspector.vcxproj.filtersin >$@
rm libgtk-inspector.vs10.sourcefiles.filters
-include $(top_srcdir)/git.mk