20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
-
-
+
+
-
+
|
$ ./autogen.sh
BUILDING AS A MAC OS X FRAMEWORK
It is also possible to build ObjFW as a Mac OS X framework. To do so,
just execute xcodebuild in the root directory of ObjFW or open the
.xcodeproj in Xcode and choose Build -> Build from the menu. Copy the
just execute xcodebuild -target ObjFW in the root directory of ObjFW or open
the .xcodeproj in Xcode and choose Build -> Build from the menu. Copy the
resulting ObjFW.framework to /Library/Frameworks and you are done.
USING THE MAC OS X FRAMWORK IN XCODE
USING THE MAC OS X FRAMEWORK IN XCODE
To use the Mac OS X framework in Xcode, you need to add the .framework
to your project and add the following flags to "Other C Flags":
-fconstant-string-class=OFConstantString -fno-constant-cfstrings
Additionally, since Xcode 4, you need to manually set the compiler to GCC
|