Changeset 4599 for lang/objective-c
- Timestamp:
- 01/15/08 00:33:45 (10 months ago)
- Location:
- lang/objective-c/CocoaOniguruma
- Files:
-
- 2 modified
-
core/readme.txt (modified) (2 diffs)
-
sample/CocoaOniguruma/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/objective-c/CocoaOniguruma/core/readme.txt
r4598 r4599 17 17 2. Open your project by Xcode. 18 18 19 2. Add all .h and .m files under "Classes".19 3. Add all .h and .m files under "Classes". 20 20 21 2.1 Right click on "Classes" and select [Add] -> [Existing Files...].22 2.2 select these files and push the OK button.21 3.1 Right click on "Classes" and select [Add] -> [Existing Files...]. 22 3.2 select these files and push the OK button. 23 23 24 24 - OnigRegexp.h … … 27 27 - OnigRegexpUtility.m 28 28 29 3. Add an external target under Targets.29 4. Add an external target under Targets. 30 30 31 3.1 Right click on Targets and select [Add] -> [New Target...].32 3.2 In the Assistant dialog, select "External Target" under "Special Targets".33 3.3 Input "CocoaOniguruma" for "Target Name".34 3.4 Double click on the CocoaOniguruma target under "Targets".35 3.5 In the dialog, input "CocoaOniguruma/oniguruma" for "Directory" under "Custom Build Command".31 4.1 Right click on Targets and select [Add] -> [New Target...]. 32 4.2 In the Assistant dialog, select "External Target" under "Special Targets". 33 4.3 Input "CocoaOniguruma" for "Target Name". 34 4.4 Double click on the CocoaOniguruma target under "Targets". 35 4.5 In the dialog, input "CocoaOniguruma/oniguruma" for "Directory" under "Custom Build Command". 36 36 37 4. Add the external target to the build process.37 5. Add the external target to the build process. 38 38 39 4.1 Drag the CocoaOniguruma target item into "YourProject" item under "Targets".39 5.1 Drag the CocoaOniguruma target item into "YourProject" item under "Targets". 40 40 Then you can see the CocoaOniguruma target item under "YourProject". 41 41 42 5. Build the project. (This takes for a while)42 6. Build the project. (This takes for a while) 43 43 44 6. Add libonig.a to "Linked Frameworks".44 7. Add libonig.a to "Linked Frameworks". 45 45 46 5.1 Expand "Frameworks" item.47 5.2 Right click on "Linked Frameworks" and select [Add] -> [Existing Files...].48 5.3 Select "CocoaOniguruma/oniguruma/universal/libonig.a".46 7.1 Expand "Frameworks" item. 47 7.2 Right click on "Linked Frameworks" and select [Add] -> [Existing Files...]. 48 7.3 Select "CocoaOniguruma/oniguruma/universal/libonig.a". 49 49 50 7. Import the header file so you can use CocoaOniguruma!50 8. Import the header file so you can use CocoaOniguruma! 51 51 52 52 #import "CocoaOniguruma/OnigRegexp.h" -
lang/objective-c/CocoaOniguruma/sample/CocoaOniguruma/readme.txt
r4598 r4599 17 17 2. Open your project by Xcode. 18 18 19 2. Add all .h and .m files under "Classes".19 3. Add all .h and .m files under "Classes". 20 20 21 2.1 Right click on "Classes" and select [Add] -> [Existing Files...].22 2.2 select these files and push the OK button.21 3.1 Right click on "Classes" and select [Add] -> [Existing Files...]. 22 3.2 select these files and push the OK button. 23 23 24 24 - OnigRegexp.h … … 27 27 - OnigRegexpUtility.m 28 28 29 3. Add an external target under Targets.29 4. Add an external target under Targets. 30 30 31 3.1 Right click on Targets and select [Add] -> [New Target...].32 3.2 In the Assistant dialog, select "External Target" under "Special Targets".33 3.3 Input "CocoaOniguruma" for "Target Name".34 3.4 Double click on the CocoaOniguruma target under "Targets".35 3.5 In the dialog, input "CocoaOniguruma/oniguruma" for "Directory" under "Custom Build Command".31 4.1 Right click on Targets and select [Add] -> [New Target...]. 32 4.2 In the Assistant dialog, select "External Target" under "Special Targets". 33 4.3 Input "CocoaOniguruma" for "Target Name". 34 4.4 Double click on the CocoaOniguruma target under "Targets". 35 4.5 In the dialog, input "CocoaOniguruma/oniguruma" for "Directory" under "Custom Build Command". 36 36 37 4. Add the external target to the build process.37 5. Add the external target to the build process. 38 38 39 4.1 Drag the CocoaOniguruma target item into "YourProject" item under "Targets".39 5.1 Drag the CocoaOniguruma target item into "YourProject" item under "Targets". 40 40 Then you can see the CocoaOniguruma target item under "YourProject". 41 41 42 5. Build the project. (This takes for a while)42 6. Build the project. (This takes for a while) 43 43 44 6. Add libonig.a to "Linked Frameworks".44 7. Add libonig.a to "Linked Frameworks". 45 45 46 5.1 Expand "Frameworks" item.47 5.2 Right click on "Linked Frameworks" and select [Add] -> [Existing Files...].48 5.3 Select "CocoaOniguruma/oniguruma/universal/libonig.a".46 7.1 Expand "Frameworks" item. 47 7.2 Right click on "Linked Frameworks" and select [Add] -> [Existing Files...]. 48 7.3 Select "CocoaOniguruma/oniguruma/universal/libonig.a". 49 49 50 7. Import the header file so you can use CocoaOniguruma!50 8. Import the header file so you can use CocoaOniguruma! 51 51 52 52 #import "CocoaOniguruma/OnigRegexp.h"
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)