• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCode 2.1: Custom projects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode 2.1: Custom projects


  • Subject: Re: XCode 2.1: Custom projects
  • From: Franco Milicchio <email@hidden>
  • Date: Fri, 25 Nov 2005 21:11:18 +0100


On Nov 25, 2005, at 05:55pm, James Bucanek wrote:

Is it possible to create a XCode ``environment'' (build, error
checking, syntax and so on) for, let's say, LaTeX? Is there any
documentation about it?

I think you want to look into are custom build rules. The Compile Sources phase of a target takes the files added to that phase and compiles them. The definition of "compiles" is controlled by a list of rules. You can write rules like:


Any filename matching *.xyz gets compiled with XYZcc and produces a file named *.xobj

Basically, each rule detemines how a particular file type is compiled and what it produces. The product of that rule is fed back into the rules again until there are no more rules that match. This lets you add pre-processors and such that produce intermediate source files, which in turn get compiled on the next pass.

So if you have a LaTeX --> .pdf workflow, you could create a rule that took a .tex file and turns it into a .pdf file. Add the source .tex files to the target and build it.

Ok, I imagined that. I'd like to do something more :)

I'd like to write the build rule and use as many XCode features I see in C projects:

- Groups
- Products
- Targets
- Errors and Warnings
- ...

Basically create the entire framework I use in C projects (latex output parsing like xcode's gcc parser). It would be nice to see also symbols per file (as in C) and project symbols list.

A tex/latex project is not so different from a c one except that you don't execute the output :)

--

Franco Milicchio <email@hidden>

Part of the inhumanity of the computer is that, once it is competently programmed and working smoothly, it is completely honest. (Isaac Asimov)


_______________________________________________ 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
  • Follow-Ups:
    • Re: XCode 2.1: Custom projects
      • From: James Bucanek <email@hidden>
References: 
 >Re: XCode 2.1: Custom projects (From: James Bucanek <email@hidden>)

  • Prev by Date: Using newer version of gcc for shared libraries
  • Next by Date: re: 64bit math in Xcode
  • Previous by thread: Re: XCode 2.1: Custom projects
  • Next by thread: Re: XCode 2.1: Custom projects
  • Index(es):
    • Date
    • Thread