Differences From Artifact [e66fb4b258]:
- File
utils/objfw-config.in
— part of check-in
[9911d60502]
at
2019-01-12 19:46:11
on branch trunk
— objfw-config: Add support for packages
This allows libraries using ObjFW to store their flags in a file and
allow objfw-config to output all required flags, including those for the
libraries. (user: js, size: 5537) [annotate] [blame] [check-ins using]
To Artifact [3230b8f5bb]:
- File utils/objfw-config.in — part of check-in [6a9cca294d] at 2019-01-13 23:39:28 on branch trunk — objfw-compile: Add support for --package (user: js, size: 5547) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
90 91 92 93 94 95 96 | exit 1 fi source "$datadir/objfw/packages/$1" } add_package_flags() { | | | | 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | exit 1 fi source "$datadir/objfw/packages/$1" } add_package_flags() { while test x"$1" != "x"; do case "$1" in --package) shift include_package "$1" ;; esac shift done } add_package_flags "$@" while test x"$1" != "x"; do case "$1" in --all) printf "%s %s %s " "$CFLAGS" "$CPPFLAGS" "$CXXFLAGS" printf "%s %s " "$OBJCFLAGS" "$LDFLAGS" printf "%s %s " "$LDFLAGS_REEXPORT" "$LDFLAGS_RPATH" printf "%s" "$LIBS" ;; |
︙ | ︙ |