• 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: "J. Todd Slack" <email@hidden>
  • Date: Tue, 29 Apr 2008 09:57:53 -0700


Hi Greg,

Thank you for the information.

I am building an iTunes Plugin for a client, Mac and Windows versions.

The client has little development experience, but used to write software approximately 20 years ago.

I am just trying to keep the source tree generic and easy to build cross-platform.

I am familiar with Ant, but to do C++ work you need a product from CodeMesh and they give no pricing on their website, nor can I get a demo without contacting them (which I did).

I could use QMake as part of Qt, but the client does not have Qt to use after I am done.

I could use CMake also, I just have never used it.

What do you think? Any suggestions based upon the above?

Thanks,

-Jason

On Apr 26, 2008, at 4:52 PM, Greg Guerin wrote:

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


_______________________________________________
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: Brian Stern <email@hidden>
References: 
 >Re: Eclipse Rather than XCode? (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: build 10.3 dynamic library on MAC 10.5 leopard fail
  • Next by Date: Re: build 10.3 dynamic library on MAC 10.5 leopard fail
  • Previous by thread: Re: Eclipse Rather than XCode?
  • Next by thread: Re: Eclipse Rather than XCode?
  • Index(es):
    • Date
    • Thread