Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross-platform Linux/OS X Development w/ SDL



On Apr 23, 2005, at 3:36 PM, Keenan Crane wrote:

Sounds like he still wants to go back and forth between platforms - is there a good way to do this while using an XCode project? I use makefiles for this exact reason - I can switch back and forth from Linux to Mac with no modification of code or makefile.

I haven't tested it yet, but CVS versions of CMake <http://www.cmake.org/> can apparently generate XCode projects. Depending on the project complexity, you could create a single CMakeLists.txt file for your project, and you could use CMake to generate whatever build setup you would like (e.g., Makefiles for Linux, Visual Studio projects or NMake files for Windows, and Makefiles or XCode projects for Mac OS X). I'm using it for several OpenGL projects on Mac OS X, IRIX, Linux, Windows 2000, and Windows XP at the moment, but I haven't tested the XCode project generation.


CMake is framework-aware during configuration, so it helps the build process. You just need to make sure that your source files account for the #include differences.

Chris

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >Cross-platform Linux/OS X Development w/ SDL (From: Achal Oza <email@hidden>)
 >Re: Cross-platform Linux/OS X Development w/ SDL (From: Greg Coats <email@hidden>)
 >Re: Cross-platform Linux/OS X Development w/ SDL (From: Joshua Martin <email@hidden>)
 >Re: Cross-platform Linux/OS X Development w/ SDL (From: Keenan Crane <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.