Improve GIR build
This commit is contained in:
parent
bd13470f23
commit
2c9fbf5561
|
@ -628,12 +628,14 @@ if (HB_HAVE_INTROSPECTION)
|
||||||
POST_BUILD
|
POST_BUILD
|
||||||
COMMAND ${G_IR_SCANNER_CMD}
|
COMMAND ${G_IR_SCANNER_CMD}
|
||||||
--warn-all --no-libtool --verbose
|
--warn-all --no-libtool --verbose
|
||||||
-n hb
|
|
||||||
--namespace=HarfBuzz
|
--namespace=HarfBuzz
|
||||||
--nsversion=0.0
|
--nsversion=0.0
|
||||||
|
--symbol-prefix=hb
|
||||||
|
--symbol-prefix=hb_gobject
|
||||||
--identifier-prefix=hb_
|
--identifier-prefix=hb_
|
||||||
--include GObject-2.0
|
--include GObject-2.0
|
||||||
--pkg-export=harfbuzz
|
--pkg-export=harfbuzz-gobject
|
||||||
|
--c-include=hb-gobject.h
|
||||||
--cflags-begin
|
--cflags-begin
|
||||||
-I${PROJECT_SOURCE_DIR}/src
|
-I${PROJECT_SOURCE_DIR}/src
|
||||||
-I${PROJECT_BINARY_DIR}/src
|
-I${PROJECT_BINARY_DIR}/src
|
||||||
|
|
|
@ -452,7 +452,16 @@ if HAVE_INTROSPECTION
|
||||||
|
|
||||||
-include $(INTROSPECTION_MAKEFILE)
|
-include $(INTROSPECTION_MAKEFILE)
|
||||||
INTROSPECTION_GIRS = HarfBuzz-0.0.gir # What does the 0 mean anyway?!
|
INTROSPECTION_GIRS = HarfBuzz-0.0.gir # What does the 0 mean anyway?!
|
||||||
INTROSPECTION_SCANNER_ARGS = -I$(srcdir) -n hb --identifier-prefix=hb_ --warn-all
|
INTROSPECTION_SCANNER_ARGS = \
|
||||||
|
-I$(srcdir) \
|
||||||
|
--warn-all --verbose \
|
||||||
|
--namespace=HarfBuzz \
|
||||||
|
--nsversion=0.0 \
|
||||||
|
--symbol-prefix=hb \
|
||||||
|
--symbol-prefix=hb_gobject \
|
||||||
|
--identifier-prefix=hb_ \
|
||||||
|
--pkg-export=harfbuzz-gobject \
|
||||||
|
--c-include=hb-gobject.h
|
||||||
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
|
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
|
||||||
INTROSPECTION_SCANNER_ENV = CC="$(CC)"
|
INTROSPECTION_SCANNER_ENV = CC="$(CC)"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue