home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-06-16 | 2.8 KB | 73 lines | [TEXT/KAHL] |
- RePrecompile Readme
- 16 June 1994
-
- This combination of an AppleScript script and two projects makes it
- fairly easy to perform "Step 5" of the 6.0.1 => 7 update for
- Symantec C/C++. That's the "Converting your libraries and headers"
- step, which can be found in the README that came along with the
- update.
-
- Be sure you already have the 6.0.1 headers, not the 6.0 headers.
- (Symantec just released a 6.0.0 => 7 updater, and while I haven't
- downloaded it, I would guess it probably updates your libraries
- to 6.0.1 first, then updates that to 7...? I don't know. Follow
- the instructions in whatever README you have.)
-
-
- Recompiling is pretty simple:
-
- * Drop the files "Recompile for 6.0.1 => 7", "RePrecompile π" and
- "RePrecompile++ π" into the "(AppleScripts)" folder. That's the
- folder you created in Step 3 of the README, remember? :-)
-
- * Double-click the "Recompile for 6.0.1 => 7" script. The Script
- Editor will start up--if it doesn't, get that application. Do a
- Save As, change the kind to "Compiled Script," and save it under
- the same name. (I saved it as text so that those of you without
- AppleScript 1.1 could read it.)
-
- * Then start up the Think Project Manager so it'll recognize the
- new script that's there.
-
- * Then select "Recompile for 6.0.1 => 7" from the TPM's script menu.
-
- * Then, in the ensuing 25 dialogs that pop up (if you selected C++),
- hit "Convert" 25 times (less if you don't have C++). Sorry about
- this, but the TPM doesn't provide a way to answer that dialog from
- a script.
-
- [Philippe: Actually, you could modify the script to use either a
- QuicKeys 3.0 script that would click the button or use the AutoType
- osax to do the typing, but that is not trivially easy, so I left it
- as an exercise for the scripter...]
-
- I don't know how well the "RePrecompile π" will work; it depends
- on how smart the TPM is about storing files in projects. I'm
- assuming that it'll be smart enough to find your "Mac #includes.c"
- and "Mac #includes.cpp" files. If I'm wrong, you'll have to open
- that project, remove those two files, and then Add them again
- (they're in your "Mac #includes" folder).
-
- [Philippe: it works pretty well! and the script is now smart enough
- to open "RePrecompile π" or "RePrecompile++ π" depending on your
- choice of "C" or "C++".]
-
- If you have custom precompiled headers of your own that you'll
- want to have precompiled, you can just Add them to "RePrecompile π"
- (or "RePrecompile++ π"). The script is smart enough to know where
- the two built-in headers get precompiled to, and it's smart enough
- that it will ask you where your custom precompiled headers go, too.
- Then again, maybe it's simpler to just precompile them yourself...?
-
- Anyway, if you have any problems, email us.
-
- Jamie McCarthy
- k044477@kzoo.edu
- [First author]
-
- Philippe Casgrain
- Casgrain@ecol.ucl.ac.be
- Casgrain@ere.umontreal.ca
- [Additional scripting and text]
-
-