ObjFW  Check-in [0869b36536]

Overview
Comment:objfw-config: Always add -g to the flags.

If no debug flags are desired, they can be stripped later. But usually,
objfw-compile is used to quickly test things, therefore -g by default
makes a lot of sense.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0869b3653631e69d13933204de1060ed3c29b8a3191ccd917a4e1836c43e3ea6
User & Date: js on 2012-07-29 15:23:25
Other Links: manifest | tags
Context
2012-07-31
11:25
Add OFUnsupportedVersionException. check-in: 32efb8025f user: js tags: trunk
2012-07-29
15:23
objfw-config: Always add -g to the flags. check-in: 0869b36536 user: js tags: trunk
2012-07-25
22:08
Work around buggy %a in snprintf on MinGW32. check-in: c59b2274ef user: js tags: trunk
Changes

Modified utils/objfw-compile from [f175931f09] to [932a63db2d].

24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
if ! which $OBJFW_CONFIG 2>&1 >/dev/null; then
	echo "You need to have ObjFW and $OBJFW_CONFIG installed!"
	exit 1
fi

CPPFLAGS="$CPPFLAGS $($OBJFW_CONFIG --cppflags)"
OBJC="$($OBJFW_CONFIG --objc)"
OBJCFLAGS="$OBJCFLAGS $($OBJFW_CONFIG --objcflags) -Wall"
LIBS="$LIBS $($OBJFW_CONFIG --libs)"
LDFLAGS="$LDFLAGS $($OBJFW_CONFIG --ldflags --rpath)"

if test x"$1" = "x"; then
	echo "Syntax: objfw-compile -o outname source1.m source2.m ..."
	exit 1
fi







|







24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
if ! which $OBJFW_CONFIG 2>&1 >/dev/null; then
	echo "You need to have ObjFW and $OBJFW_CONFIG installed!"
	exit 1
fi

CPPFLAGS="$CPPFLAGS $($OBJFW_CONFIG --cppflags)"
OBJC="$($OBJFW_CONFIG --objc)"
OBJCFLAGS="$OBJCFLAGS $($OBJFW_CONFIG --objcflags) -Wall -g"
LIBS="$LIBS $($OBJFW_CONFIG --libs)"
LDFLAGS="$LDFLAGS $($OBJFW_CONFIG --ldflags --rpath)"

if test x"$1" = "x"; then
	echo "Syntax: objfw-compile -o outname source1.m source2.m ..."
	exit 1
fi