Skip to content

Commit

Permalink
Avoid much of duplication in lists of source files
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tml1024 committed Mar 21, 2010
1 parent 504b8b8 commit 226cc66
Show file tree
Hide file tree
Showing 9 changed files with 299 additions and 977 deletions.
3 changes: 3 additions & 0 deletions build/win32/vs9/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion build/win32/vs9/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 226cc66

Please sign in to comment.