Commit 226cc663 authored by Tor Lillqvist's avatar Tor Lillqvist

Avoid much of duplication in lists of source files

Don't keep the lists of source files for libglib, libgobject and
libgio in the VS project files in addition to the canonical location,
the corresponding Makefile.am files.

Instead, generate the corresponding .vcproj files at make dist time
using the C preprocessor, from template files called .vcprojin. We
still list explicitly in the .vcprojin files some of the
Windows-specific source files, and the sources files of gnulib and
pcre.
parent 504b8b8f
......@@ -3,12 +3,15 @@ EXTRA_DIST = \
glib.sln \
glib.vsprops \
glib.vcproj \
glib.vcprojin \
glib-genmarshal.vcproj \
gspawn-win32-helper-console.vcproj \
gspawn-win32-helper.vcproj \
gmodule.vcproj \
gobject.vcproj \
gobject.vcprojin \
gthread.vcproj \
gio.vcproj \
gio.vcprojin \
testglib.vcproj \
install.vcproj
......@@ -4,7 +4,8 @@ This VS9 solution and the projects it includes are intented to be used
in a GLib source tree unpacked from a tarball. In a git checkout you
first need to use some Unix-like environment or manual work to expand
the .in files needed, mainly config.h.win32.in into config.h.win32 and
glibconfig.h.win32.in into glibconfig.h.win32.
glibconfig.h.win32.in into glibconfig.h.win32. You will also need to
expand the .vcprojin files here into .vcproj files.
The only external dependency is proxy-libintl. Fetch the latest
proxy-libintl-dev zipfile from
......
......@@ -159,390 +159,16 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\..\gio\gappinfo.c"
>
</File>
<File
RelativePath="..\..\..\gio\gasynchelper.c"
>
</File>
<File
RelativePath="..\..\..\gio\gasyncinitable.c"
>
</File>
<File
RelativePath="..\..\..\gio\gasyncresult.c"
>
</File>
<File
RelativePath="..\..\..\gio\gbufferedinputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gbufferedoutputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gcancellable.c"
>
</File>
<File
RelativePath="..\..\..\gio\gcontenttype.c"
>
</File>
<File
RelativePath="..\..\..\gio\gcharsetconverter.c"
>
</File>
<File
RelativePath="..\..\..\gio\gconverter.c"
>
</File>
<File
RelativePath="..\..\..\gio\gconverterinputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gconverteroutputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gdatainputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gdataoutputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gdrive.c"
>
</File>
<File
RelativePath="..\..\..\gio\gdummyfile.c"
>
</File>
<File
RelativePath="..\..\..\gio\gemblem.c"
>
</File>
<File
RelativePath="..\..\..\gio\gemblemedicon.c"
>
</File>
<File
RelativePath="..\..\..\gio\gfile.c"
>
</File>
<File
RelativePath="..\..\..\gio\gfiledescriptorbased.c"
>
</File>
<File
RelativePath="..\..\..\gio\gfileattribute.c"
>
</File>
<File
RelativePath="..\..\..\gio\gfileenumerator.c"
>
</File>
<File
RelativePath="..\..\..\gio\gfileicon.c"
>
</File>
<File
RelativePath="..\..\..\gio\gfileinfo.c"
>
</File>
<File
RelativePath="..\..\..\gio\gfileinputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gfileiostream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gfilemonitor.c"
>
</File>
<File
RelativePath="..\..\..\gio\gfilenamecompleter.c"
>
</File>
<File
RelativePath="..\..\..\gio\gfileoutputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gfilterinputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gfilteroutputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gicon.c"
>
</File>
<File
RelativePath="..\..\..\gio\ginetaddress.c"
>
</File>
<File
RelativePath="..\..\..\gio\ginetsocketaddress.c"
>
</File>
<File
RelativePath="..\..\..\gio\ginitable.c"
>
</File>
<File
RelativePath="..\..\..\gio\ginputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gio-marshal.c"
>
</File>
<File
RelativePath="..\..\..\gio\gioaliasdef.c"
>
</File>
<File
RelativePath="..\..\..\gio\gioenumtypes.c"
>
</File>
<File
RelativePath="..\..\..\gio\gioerror.c"
>
</File>
<File
RelativePath="..\..\..\gio\giomodule.c"
>
</File>
<File
RelativePath="..\..\..\gio\gioscheduler.c"
>
</File>
<File
RelativePath="..\..\..\gio\giostream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gloadableicon.c"
>
</File>
<File
RelativePath="..\..\..\gio\glocaldirectorymonitor.c"
>
</File>
<File
RelativePath="..\..\..\gio\glocalfile.c"
>
</File>
<File
RelativePath="..\..\..\gio\glocalfileenumerator.c"
>
</File>
<File
RelativePath="..\..\..\gio\glocalfileinfo.c"
>
</File>
<File
RelativePath="..\..\..\gio\glocalfileinputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\glocalfileiostream.c"
>
</File>
<File
RelativePath="..\..\..\gio\glocalfilemonitor.c"
>
</File>
<File
RelativePath="..\..\..\gio\glocalfileoutputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\glocalvfs.c"
>
</File>
<File
RelativePath="..\..\..\gio\gmemoryinputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gmemoryoutputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gmount.c"
>
</File>
<File
RelativePath="..\..\..\gio\gmountoperation.c"
>
</File>
<File
RelativePath="..\..\..\gio\gnativevolumemonitor.c"
>
</File>
<File
RelativePath="..\..\..\gio\gnetworkaddress.c"
>
</File>
<File
RelativePath="..\..\..\gio\gnetworkservice.c"
>
</File>
<File
RelativePath="..\..\..\gio\goutputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gpollfilemonitor.c"
>
</File>
<File
RelativePath="..\..\..\gio\gresolver.c"
>
</File>
<File
RelativePath="..\..\..\gio\gseekable.c"
>
</File>
<File
RelativePath="..\..\..\gio\gsimpleasyncresult.c"
>
</File>
<File
RelativePath="..\..\..\gio\gsocket.c"
>
</File>
<File
RelativePath="..\..\..\gio\gsocketaddress.c"
>
</File>
<File
RelativePath="..\..\..\gio\gsocketaddressenumerator.c"
>
</File>
<File
RelativePath="..\..\..\gio\gsocketclient.c"
>
</File>
<File
RelativePath="..\..\..\gio\gsocketconnectable.c"
>
</File>
<File
RelativePath="..\..\..\gio\gsocketconnection.c"
>
</File>
<File
RelativePath="..\..\..\gio\gsocketcontrolmessage.c"
>
</File>
<File
RelativePath="..\..\..\gio\gsocketinputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gsocketlistener.c"
>
</File>
<File
RelativePath="..\..\..\gio\gsocketoutputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\gsocketservice.c"
>
</File>
<File
RelativePath="..\..\..\gio\gsrvtarget.c"
>
</File>
<File
RelativePath="..\..\..\gio\gtcpconnection.c"
>
</File>
<File
RelativePath="..\..\..\gio\gthemedicon.c"
>
</File>
<File
RelativePath="..\..\..\gio\gthreadedresolver.c"
>
</File>
<File
RelativePath="..\..\..\gio\gthreadedsocketservice.c"
>
</File>
<File
RelativePath="..\..\..\gio\gunionvolumemonitor.c"
>
</File>
<File
RelativePath="..\..\..\gio\gvfs.c"
>
</File>
<File
RelativePath="..\..\..\gio\gvolume.c"
>
</File>
<File
RelativePath="..\..\..\gio\gvolumemonitor.c"
>
</File>
<File
RelativePath="..\..\..\gio\gzlibcompressor.c"
>
</File>
<File
RelativePath="..\..\..\gio\gzlibdecompressor.c"
>
</File>
<File
RelativePath="..\..\..\gio\gwin32appinfo.c"
>
</File>
<File
RelativePath="..\..\..\gio\win32\gwin32directorymonitor.c"
>
</File>
<File
RelativePath="..\..\..\gio\gwin32mount.c"
>
</File>
<File
RelativePath="..\..\..\gio\gwin32resolver.c"
>
</File>
<File
RelativePath="..\..\..\gio\gwin32volumemonitor.c"
>
</File>
<File
RelativePath="..\..\..\gio\win32\gwinhttpfile.c"
>
</File>
<File
RelativePath="..\..\..\gio\win32\gwinhttpfileinputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\win32\gwinhttpfileoutputstream.c"
>
</File>
<File
RelativePath="..\..\..\gio\win32\gwinhttpvfs.c"
>
</File>
#include "libgio.sourcefiles"
<File RelativePath="..\..\..\gio\gwin32appinfo.c" />
<File RelativePath="..\..\..\gio\win32\gwin32directorymonitor.c" />
<File RelativePath="..\..\..\gio\gwin32mount.c" />
<File RelativePath="..\..\..\gio\gwin32resolver.c" />
<File RelativePath="..\..\..\gio\gwin32volumemonitor.c" />
<File RelativePath="..\..\..\gio\win32\gwinhttpfile.c" />
<File RelativePath="..\..\..\gio\win32\gwinhttpfileinputstream.c" />
<File RelativePath="..\..\..\gio\win32\gwinhttpfileoutputstream.c" />
<File RelativePath="..\..\..\gio\win32\gwinhttpvfs.c" />
</Filter>
<Filter
Name="Header Files"
......
......@@ -156,207 +156,10 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\..\glib\garray.c"
/>
<File
RelativePath="..\..\..\glib\gasyncqueue.c"
/>
<File
RelativePath="..\..\..\glib\gatomic.c"
/>
<File
RelativePath="..\..\..\glib\gbacktrace.c"
/>
<File
RelativePath="..\..\..\glib\gbase64.c"
/>
<File
RelativePath="..\..\..\glib\gbitlock.c"
/>
<File
RelativePath="..\..\..\glib\gbookmarkfile.c"
/>
<File
RelativePath="..\..\..\glib\gbuffer.c"
/>
<File
RelativePath="..\..\..\glib\gcache.c"
/>
<File
RelativePath="..\..\..\glib\gchecksum.c"
/>
<File
RelativePath="..\..\..\glib\gcompletion.c"
/>
<File
RelativePath="..\..\..\glib\gconvert.c"
/>
<File
RelativePath="..\..\..\glib\gdataset.c"
/>
<File
RelativePath="..\..\..\glib\gdate.c"
/>
<File
RelativePath="..\..\..\glib\gdir.c"
/>
<File
RelativePath="..\..\..\glib\gerror.c"
/>
<File
RelativePath="..\..\..\glib\gfileutils.c"
/>
<File
RelativePath="..\..\..\glib\ghash.c"
/>
<File
RelativePath="..\..\..\glib\ghook.c"
/>
<File
RelativePath="..\..\..\glib\ghostutils.c"
/>
<File
RelativePath="..\..\..\glib\giochannel.c"
/>
<File
RelativePath="..\..\..\glib\giowin32.c"
/>
<File
RelativePath="..\..\..\glib\gkeyfile.c"
/>
<File
RelativePath="..\..\..\glib\glist.c"
/>
<File
RelativePath="..\..\..\glib\gmain.c"
/>
<File
RelativePath="..\..\..\glib\gmappedfile.c"
/>
<File
RelativePath="..\..\..\glib\gmarkup.c"
/>
<File
RelativePath="..\..\..\glib\gmem.c"
/>
<File
RelativePath="..\..\..\glib\gmessages.c"
/>
<File
RelativePath="..\..\..\glib\gnode.c"
/>
<File
RelativePath="..\..\..\glib\goption.c"
/>
<File
RelativePath="..\..\..\glib\gpattern.c"
/>
<File
RelativePath="..\..\..\glib\gpoll.c"
/>
<File
RelativePath="..\..\..\glib\gprimes.c"
/>
<File
RelativePath="..\..\..\glib\gprintf.c"
/>
<File
RelativePath="..\..\..\glib\gqsort.c"
/>
<File
RelativePath="..\..\..\glib\gqueue.c"
/>
<File
RelativePath="..\..\..\glib\grand.c"
/>
<File
RelativePath="..\..\..\glib\gregex.c"
/>
<File
RelativePath="..\..\..\glib\grel.c"
/>
<File
RelativePath="..\..\..\glib\gscanner.c"
/>
<File
RelativePath="..\..\..\glib\gsequence.c"
/>
<File
RelativePath="..\..\..\glib\gshell.c"
/>
<File
RelativePath="..\..\..\glib\gslice.c"
/>
<File
RelativePath="..\..\..\glib\gslist.c"
/>
<File
RelativePath="..\..\..\glib\gspawn-win32.c"
/>
<File
RelativePath="..\..\..\glib\gstdio.c"
/>
<File
RelativePath="..\..\..\glib\gstrfuncs.c"
/>
<File
RelativePath="..\..\..\glib\gstring.c"
/>
<File
RelativePath="..\..\..\glib\gtestutils.c"
/>
<File
RelativePath="..\..\..\glib\gthread.c"
/>
<File
RelativePath="..\..\..\glib\gthreadpool.c"
/>
<File
RelativePath="..\..\..\glib\gtimer.c"
/>
<File
RelativePath="..\..\..\glib\gtree.c"
/>
<File
RelativePath="..\..\..\glib\gunibreak.c"
/>
<File
RelativePath="..\..\..\glib\gunicollate.c"
/>
<File
RelativePath="..\..\..\glib\gunidecomp.c"
/>
<File
RelativePath="..\..\..\glib\guniprop.c"
/>
<File
RelativePath="..\..\..\glib\gurifuncs.c"
/>
<File
RelativePath="..\..\..\glib\gutf8.c"
/>
<File
RelativePath="..\..\..\glib\gutils.c"
/>
<File
RelativePath="..\..\..\glib\gvariant.c"
/>
<File
RelativePath="..\..\..\glib\gvariant-serialiser.c"
/>
<File
RelativePath="..\..\..\glib\gvarianttype.c"
/>
<File
RelativePath="..\..\..\glib\gvarianttypeinfo.c"
/>
<File
RelativePath="..\..\..\glib\gvariant-core.c"
/>
<File
RelativePath="..\..\..\glib\gwin32.c"
/>
#include "libglib.sourcefiles"
<File RelativePath="..\..\..\glib\giowin32.c" />
<File RelativePath="..\..\..\glib\gspawn-win32.c" />
<File RelativePath="..\..\..\glib\gwin32.c" />
<Filter
Name="libcharset"
>
......@@ -400,110 +203,35 @@
<Filter
Name="gnulib"
>
<File
RelativePath="..\..\..\glib\gnulib\asnprintf.c"
>
</File>
<File
RelativePath="..\..\..\glib\gnulib\printf-args.c"
>
</File>
<File
RelativePath="..\..\..\glib\gnulib\printf-parse.c"
>
</File>
<File
RelativePath="..\..\..\glib\gnulib\printf.c"
>
</File>
<File
RelativePath="..\..\..\glib\gnulib\vasnprintf.c"
>
</File>
<File RelativePath="..\..\..\glib\gnulib\asnprintf.c" />
<File RelativePath="..\..\..\glib\gnulib\printf-args.c" />
<File RelativePath="..\..\..\glib\gnulib\printf-parse.c" />
<File RelativePath="..\..\..\glib\gnulib\printf.c" />
<File RelativePath="..\..\..\glib\gnulib\vasnprintf.c" />
</Filter>
<Filter
Name="pcre"
>
<File
RelativePath="..\..\..\glib\pcre\pcre_chartables.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_compile.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_config.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_dfa_exec.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_exec.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_fullinfo.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_get.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_globals.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_info.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_maketables.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_newline.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_ord2utf8.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_refcount.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_study.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_tables.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_try_flipped.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_ucp_searchfuncs.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_valid_utf8.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_version.c"
>
</File>
<File
RelativePath="..\..\..\glib\pcre\pcre_xclass.c"
>
</File>
<File RelativePath="..\..\..\glib\pcre\pcre_chartables.c" />
<File RelativePath="..\..\..\glib\pcre\pcre_compile.c" />
<File RelativePath="..\..\..\glib\pcre\pcre_config.c" />
<File RelativePath="..\..\..\glib\pcre\pcre_dfa_exec.c" />
<File RelativePath="..\..\..\glib\pcre\pcre_exec.c" />
<File RelativePath="..\..\..\glib\pcre\pcre_fullinfo.c" />
<File RelativePath="..\..\..\glib\pcre\pcre_get.c" />
<File RelativePath="..\..\..\glib\pcre\pcre_globals.c" />
<File RelativePath="..\..\..\glib\pcre\pcre_info.c" />
<File RelativePath="..\..\..\glib\pcre\pcre_maketables.c" />
<File RelativePath="..\..\..\glib\pcre\pcre_newline.c" />