diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-01-10 16:58:38 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-01-10 16:58:38 +0800 |
commit | c825bb054b38d0cc78f878d115189ff32a4773a2 (patch) | |
tree | 870cc91d0f747d7066e8ba671710847bcb9ea40c /build/Makefile.am | |
parent | a6c318ee505aeabe6f84e1543d68834b9e0e7acf (diff) | |
download | pango-c825bb054b38d0cc78f878d115189ff32a4773a2.tar.gz |
MSVC Builds: Rework Introspection Build
The current approach of building the introspection files for Pango works,
but is often cumbersome as one needs to set many environmental variables
before launching a solution file, which runs a Windows batch script to
generate the .gir/.typelib files. It was also possible to hand-run the
batch script from the Visual Studio command prompt, but even more
environmental variables need to be set.
This changes the approach to build the introspection files using an NMake
Makefile (but elimating from the Visual Studio Project Files the part to
build the introspection files) to:
-Make it clearer to the person building the introspection files what
environmental variables are needed, specifically for PKG_CONFIG_PATH and
MINGWDIR and CFG (formerly CONF). Setting stuff like VSVER, PLAT and
BASEDIR is no longer required, which was a bit clunky.
-Allows some more easier flexibility on the build of the intropsection
files.
Diffstat (limited to 'build/Makefile.am')
-rw-r--r-- | build/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/Makefile.am b/build/Makefile.am index 73e7a6f6..0ca470ba 100644 --- a/build/Makefile.am +++ b/build/Makefile.am @@ -1,3 +1,9 @@ SUBDIRS = win32 +EXTRA_DIST = \ + pango-introspection-msvc.mak \ + introspection-msvc.mak \ + testsrules_msvc.mak \ + gen-file-list-pango.py + -include $(top_srcdir)/git.mk |