Re: HeaderDoc & XCode
Re: HeaderDoc & XCode
- Subject: Re: HeaderDoc & XCode
- From: Bill Cheeseman <email@hidden>
- Date: Sun, 12 Dec 2004 11:40:39 -0500
on 2004-12-12 9:01 AM, Michaelangelo at email@hidden wrote:
> 1) Does XCode (1.5) support the latest HeaderDoc 7.4.8 or 8.0 ?
I've been using 8.0 on XCode 1.5 without difficulty.
> 3) Are there any special installation instructions so that the newer
> version works properly with XCode?
With help from others, I installed it as shown below. From there, I put
together a build style to generate the documentation, as shown even further
below.
Installation, using Terminal:
1. cd to the xmlman directory in the 8.0 folder
2. type make <RETURN>
3. type cd .. <RETURN>
4. type sudo make realinstall <RETURN>
5. when prompted, type <my password> <RETURN>
Build style, using Xcode:
1. In the old days, I was able to put a GENERATE_HEADERDOC item in the build
style window and set it to YES. But this stopped working in Xcode (1.5?
earlier?).
2. So then I left the GENERATE_HEADERDOC item there and set to YES, but I
added a new target for Documentation only with a script build phase as shown
below. This builds the documentation alone and places it in a
"Documentation" folder, without compiling the project). I'm no shell
scripting maven, so take this with care. Also, it is specific to my project,
but you'll get the drift. I welcome suggestions for improvement.
headerDoc2HTML -o "${TARGET_BUILD_DIR}/Documentation" ./PFUIElement.h
headerDoc2HTML -o "${TARGET_BUILD_DIR}/Documentation" ./PFObserver.h
headerDoc2HTML -o "${TARGET_BUILD_DIR}/Documentation" ./Framework.hdoc
gatherHeaderDoc "${TARGET_BUILD_DIR}/Documentation" "PreFab
PFAssistive.html"
mkdir -p "${TARGET_BUILD_DIR}/PFAssistive Documentation"
mv "${TARGET_BUILD_DIR}/Documentation" "${TARGET_BUILD_DIR}/PFAssistive
Documentation"
ln -s "${TARGET_BUILD_DIR}/PFAssistive Documentation/Documentation/PreFab
PFAssistive.html" "${TARGET_BUILD_DIR}/PFAssistive Documentation"
headerDoc2HTML -s -o "${TARGET_BUILD_DIR}/PFAssistive Documentation"
./PFUIElement.h
headerDoc2HTML -s -o "${TARGET_BUILD_DIR}/PFAssistive Documentation"
./PFObserver.h
cp -p "./English.lproj/Read Me.rtf" "${TARGET_BUILD_DIR}/PFAssistive
Documentation"
exit 0
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden