Overview
Context
Changes
Modified utils/objfw-config.1
from [6034b81739]
to [838fc11326].
︙ | | |
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
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
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
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
|
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
|
is a program which outputs various flags needed to compile software using ObjFW.
.SH OPTIONS
.TP
.BR \-\-all
Outputs all flags + libs.
.TP
.BR \-\-arc
Outputs the required \fIOBJCFLAGS\fR to use ARC.
Outputs the required \fBOBJCFLAGS\fR to use ARC.
.TP
.BR \-\-cflags
Outputs the required \fICFLAGS\fR.
Outputs the required \fBCFLAGS\fR.
.TP
.BR \-\-cppflags
Outputs the required \fICPPFLAGS\fR.
Outputs the required \fBCPPFLAGS\fR.
.TP
.BR \-\-cxxflags
Outputs the required \fICXXFLAGS\fR.
Outputs the required \fBCXXFLAGS\fR.
.TP
.BR \-\-framework-libs
Outputs the required \fILIBS\fR, preferring frameworks.
Outputs the required \fBLIBS\fR, preferring frameworks.
.TP
.BR \-\-help
Prints the help.
.TP
.BR \-\-ldflags
Outputs the required \fILDFLAGS\fR.
Outputs the required \fBLDFLAGS\fR.
.TP
.BR \-\-libs
Outputs the required \fILIBS\fR.
Outputs the required \fBLIBS\fR.
.TP
.BR \-\-lib-cflags
Outputs \fICFLAGS\fR for building a library.
Outputs \fBCFLAGS\fR for building a library.
.TP
.BR \-\-lib-ldflags
Outputs \fILDFLAGS\fR for building a library.
Outputs \fBLDFLAGS\fR for building a library.
.TP
.BR \-\-lib-prefix
Outputs the prefix for libraries.
.TP
.BR \-\-lib-suffix
Outputs the suffix for libraries.
.TP
.BR \-\-objc
Outputs the \fIOBJC\fR used to compile ObjFW. It is required to use the same
\fIOBJC\fR that was used to compile ObjFW.
Outputs the \fBOBJC\fR used to compile ObjFW. It is required to use the same
\fBOBJC\fR that was used to compile ObjFW.
.TP
.BR \-\-objcflags
Outputs the required \fIOBJCFLAGS\fR.
Outputs the required \fBOBJCFLAGS\fR.
.TP
.BR \-\-package \fINAME\fR
.BR \-\-package " " \fIname\fR
Additionally outputs the flags for the specified package.
.TP
.BR \-\-packages-dir
Outputs the directory where flags for packages are stored.
.TP
.BR \-\-plugin-cflags
Outputs \fICFLAGS\fR for building a plugin.
Outputs \fBCFLAGS\fR for building a plugin.
.TP
.BR \-\-plugin-ldflags
Outputs \fILDFLAGS\fR for building a plugin.
Outputs \fBLDFLAGS\fR for building a plugin.
.TP
.BR \-\-plugin-suffix
Outputs the suffix for plugins.
.TP
.BR \-\-prog-suffix
Outputs the suffix for binaries.
.TP
.BR \-\-reexport
Outputs \fILDFLAGS\fR to reexport ObjFW.
Outputs \fBLDFLAGS\fR to reexport ObjFW.
.TP
.BR \-\-rpath
Outputs \fILDFLAGS\fR for using rpath.
Outputs \fBLDFLAGS\fR for using rpath.
.TP
.BR \-\-static-libs
Outputs the required \fILIBS\fR to link ObjFW statically.
Outputs the required \fBLIBS\fR to link ObjFW statically.
.TP
.BR \-\-version
Outputs the installed ObjFW version.
.SH EXAMPLES
Print \fIOBJCFLAGS\fR and \fICPPFLAGS\fR:
Print \fBOBJCFLAGS\fR and \fBCPPFLAGS\fR:
.PP
objfw-config \-\-objcflags \-\-cppflags
.PP
Print \fILIBS\fR and \fILDFLAGS\fR for ObjFW and ObjFWTLS:
Print \fBLIBS\fR and \fBLDFLAGS\fR for ObjFW and ObjFWTLS:
.PP
objfw-config \-\-libs \-\-ldflags --package ObjFWTLS
.SH SEE ALSO
\fIobjfw-compile\fR(1)
|