Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Xcode and Cross Platform Dev (cmake,scons)

 
   Macintosh computer (Home) -> Tools RSS
Next:  command line tool for finding mem leaks?  
Author Message
citizenkahn

External


Since: May 18, 2006
Posts: 2



(Msg. 1) Posted: Thu May 18, 2006 2:25 pm
Post subject: Xcode and Cross Platform Dev (cmake,scons)
Archived from groups: comp>sys>mac>programmer>tools (more info?)

I'll be setting up a cross plaform project soon and I was wondering if
anyone knew of any tools that allowed for cross platform project
definition. On Windows, I have visual studio solutions/project files,
on linux I have make files and on mac I'll be having xcodeproj files.

Having three sets of files that define what makes up library foo and
application bar isn't my choice for sustainability. I looked at open
source projects like Firefox and they seem to use automake/autoconf.
The problem is that my team has found that using the native IDEs yield
great improvement's in efficiency over an editor and a makefile.
Therefore, I'd like to be able to offer a comfortable and powerful
environment for them.

I have looked at cmake and scons as they are cross platform and can
generate the IDE project files (on windows), but I haven't heard that
anything can generate xcode projects. The xcodeproj format is text
based, so it might not be that difficult to generate it on the fly, but
I'd hate to re-invent the wheel, especially working against the clock
of a release schedule.

So, if any of you know of any good tools for generating xcodeproj files
off of makefiles, I'd love to hear about them.

 >> Stay informed about: Xcode and Cross Platform Dev (cmake,scons) 
Back to top
Login to vote
hns

External


Since: May 19, 2006
Posts: 2



(Msg. 2) Posted: Fri May 19, 2006 12:51 am
Post subject: Re: Xcode and Cross Platform Dev (cmake,scons) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

citizenkahn schrieb:

> I'll be setting up a cross plaform project soon and I was wondering if
> anyone knew of any tools that allowed for cross platform project
> definition. On Windows, I have visual studio solutions/project files,
> on linux I have make files and on mac I'll be having xcodeproj files.
>
....
>
> So, if any of you know of any good tools for generating xcodeproj files
> off of makefiles, I'd love to hear about them.

I usually create a new Xcode project with an "external target". That
means it simply runs an existing makefile. You might have to configure
the build target (i.e. 'all'). By doing this, you can edit files in
Xcode and simply press Build.

More tricky (on Xcode) than this is
* have the right tools in $PATH that some Linux sources assume (use
Fink etc.)
* have the right libraries
* autoconf usually does not help on a Mac (in many cases I have simply
created my own makefile with 20 lines...)
* if you have problems, you might need a HFS partition which
distinguishes between upper and lower case file names. It once took me
2 weeks to find out that there was a Makefile and a makefile in the
original .tgz

-- hns

 >> Stay informed about: Xcode and Cross Platform Dev (cmake,scons) 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[ANN] CPLAT 5.1 Released (Cross platform framework) - ksoft is pleased to announce the latest version of CPLAT (version 5.1). Some of the new features are: MacOSX HIView support. MaxOSX window compositing support. MacOSX drawer and metal window support. New DataBrowser class. New UI elements - round..

Cross-Platform Frameworks: Qt, wxWidgets, CPLAT - MacCompanion online magazine has a series on Cross-Platform Frameworks from a Mac programmer's perspective, and so far they have covered Qt, wxWidgets and CPLAT. Has anyone actually done a direct comparison of these? Are there any others? I seem to..

How to extend Xcode gcc to cross compile - or why does gcc.. - Hi, has anybody tried to install additional gcc targets into the Apple Xcode gcc installation, i.e. to /usr/libexec/gcc? I have tried to add some /usr/libexec/gcc/linux/arm/.... to plug in an ARM cross compiler. Unfortunately, the gcc driver..

Q: Is it difficult to port a Win or OS/2 app over to the I.. - I've pretty much given up on my old standby, OS/2, and now a devoted and very happy Intel iMac user - but I miss a few things such as a comprehensive all-in-one easy to use graphics viewer and editing program like PMView (pmview.com). This product comes...

Cross compiling with intel-linux - I have a very powerfull AMD Opteron machine but only a iMacG5 for software development. Is it possible to compile my files with gcc 3.4 on Intel Linux ? Anybody ever tried this ?
   Macintosh computer (Home) -> Tools All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]