I basically do most development on just one platform and keep as much of the code cross platform as possible. Whenever I fix something on one platform, I sync my source control and test it on all other platforms.
On windows I use VS2010 professional.
On Mac I use Xcode
On linux I use vim. (okay, I sometimes use vim on all of them, depending on what I'm doing).
Things to remember:
1) Do not *ever* put the build/ directory in source control
2) Do not *ever* copy the build/ directory to another computer
3) You can use cmake to include files for a specific architecture and use common base classes to keep most of your files system agnostic.
There is no way that I know of to compile a mac plugin from a windows computer, or vise versa. Linux plugins might be doable from mac or windows, but mac and windows both rely too much on features of xcode or visual studio.
For filesystem stuff, use boost::filesystem. For most everything else, see what else boost has =] I fought against using boost for a long time, but it solves so many problems in a clean, stable, cross platform way that I always look there first now.
Richard
Hello FireBreath community,
first of all I have to say that I really found it helpful and appreciate it that the whole FireBreath project is that good documented. I just started developing with C++ and the FireBreath framework, so please be patient with me with some newbie questions come up ;-)
As my intention is to develop a plugin for Mac, Linux and Windows, I was wondering whats the best way to handle the source code and compilation process for the different operating systems. The "Get started" - tutorial for Mac describes developing with XCode and also compiling with it. The output is a .plugin file which can be used to run the plugin on Mac. Is there any way to develop for Mac and Windows through one IDE like Visual Studios and get a dll and a .plugin file after compiling? There must be an easier way then setting up two different projects or what procedure do you recommend to take care of the development under different operating system?
An other questions I was facing is the implementation of operating system specific commands like opening a file or something similar. Can you point me in the right direction to do that?
Thanks in advance.
Kevin
--
---
You received this message because you are subscribed to the Google Groups "firebreath-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebreath-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.