Re: Eclipse Rather than XCode?
Re: Eclipse Rather than XCode?
- Subject: Re: Eclipse Rather than XCode?
- From: Brian Stern <email@hidden>
- Date: Tue, 29 Apr 2008 14:40:26 -0400
Jason,
IMO you're wasting your time. Just use Xcode on the Mac and whatever
makes sense on Win (probably VC).
Xcode is free and freely available. It is arguably the best tool for
developing iTunes plugins on the Mac. It will be available in the
future, will be updated promptly for new OS releases etc.
Making your source code cross-platform makes sense. Making your
development tools cross-platform, not so much.
I can tell you that in the Photoshop SDK for building PS plugins on
Mac and Win all the sample code is done as I mentioned above. Each
sample plugin has a folder with cross-platform source files along with
a folder that contains an Xcode project and another folder that
contains a VC project.
Brian
On Apr 29, 2008, at 12:57 PM, J. Todd Slack wrote:
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
--
Brian Stern
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