• 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: Eclipse Rather than XCode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eclipse Rather than XCode?


  • Subject: Re: Eclipse Rather than XCode?
  • From: Greg Guerin <email@hidden>
  • Date: Sat, 26 Apr 2008 16:52:49 -0700

J. Todd Slack wrote:

I have a client that wants a cross-platform C++/OpenGL app written and wants a nice way to build cross-platform.

I was thinking Eclipse. But is this possible?

Can one link to OS X Frameworks?

Can Eclipse build .apps?

Ant will build cross-platform. Eclipse also has an Ant module. The build instructions in build.xml would differ depending on the host platform, but it should be possible to factor out a lot of commonality.


Ant tasks can run a command-line tool, so yes, it could link to OS X frameworks. You mainly need to know what the command-line is. For that, you can look at the build transcript that Xcode produces and do what it does.

Finally, there is an app-bundle builder for Ant. It currently builds app-bundles from jar-files, but it shouldn't be rocket science to modify it to produce a native app-bundle. Source and jars available here:
<http://informagen.com/JarBundler/>


Big picture: it depends on what latitude the client gives you. They might not want JRE + Ant + Eclipse, or whatever. That would argue for cmake or the like. Also depends on how cross-platform the builds really have to be. Does Mac OS X have to build a Windows .exe?

Also, "edit and build" is not the same as "build". I can run Ant from command-line without using Eclipse, or I can use an existing Ant build.xml and source-tree with Xcode. So even if we were both working on the same project, you could use Eclipse and I could use Xcode, as long as the source and build.xml remained in sync.

  -- GG

_______________________________________________
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: Eclipse Rather than XCode?
      • From: "J. Todd Slack" <email@hidden>
  • Prev by Date: Re: Eclipse Rather than XCode?
  • Next by Date: Re: Linking error--duplicate symbol, Xcode 3.0
  • Previous by thread: Re: Eclipse Rather than XCode?
  • Next by thread: Re: Eclipse Rather than XCode?
  • Index(es):
    • Date
    • Thread