User forums > Using Code::Blocks
Team cross-platform development with Code::Blocks?
tuXXX:
--- Quote from: MortenMacFly on September 04, 2008, 10:00:08 am ---
--- Quote from: tuXXX on September 03, 2008, 11:37:44 pm ---BUT... unfortunately, I need additional _manual_ editings of .cbp file to get all this work fine...
--- End quote ---
Huh? I don't get this. ALL parameters in a project file are configurable via the project / target settings. What exactly do you modify in the cbp file by hand?
--- End quote ---
I created project in windows and then I added new build target under Linux. I edited compiler parameters for new target to make them suitable for Linux. And... In .cbp file, in common to all targets sections you can see:
--- Code: ---- <Compiler>
<Add option="-pipe" />
<Add option="-mthreads" />
<Add option="-D__GNUWIN32__" />
<Add option="-D__WXMSW__" />
--- End code ---
Of course, in Linux, this constructions make error, so I need to move this options to windows-only compiler options for each target...
This is _manual_ editing... How to make cross projects without manual editing of .cbp?
Please, make HOWTO...
MortenMacFly:
--- Quote from: tuXXX on September 04, 2008, 11:42:24 am ---This is _manual_ editing...
--- End quote ---
I believe we have a different understanding of "manual editing". So let me ask more precise:
Do you use C::B only to setup the project options using the setup dialog of C::B or...
...do you open the CBP file directly in an editor (whatever editor) and paste XML nodes into it?
tuXXX:
--- Quote from: MortenMacFly on September 04, 2008, 03:39:10 pm ---
--- Quote from: tuXXX on September 04, 2008, 11:42:24 am ---This is _manual_ editing...
--- End quote ---
I believe we have a different understanding of "manual editing". So let me ask more precise:
Do you use C::B only to setup the project options using the setup dialog of C::B or...
...do you open the CBP file directly in an editor (whatever editor) and paste XML nodes into it?
--- End quote ---
Yes, I use editor and write necessary XML nodes... This is _without C::B_ (unfortunately) =(
tuXXX:
I did it!!! ONE project file for several platforms! Bit this operation need direct manual editings of XML nodes in .cbp file...
Well, I have some friends and they are interested in crossplatform developing with code:blocks and wxWidgets instead plain win32, but they will _not_ use it if it's so complex to create cross projects...
Friends! Victory of cross development IDE c::b is very close... ;)
MortenMacFly:
--- Quote from: tuXXX on September 04, 2008, 08:13:36 pm ---Yes, I use editor and write necessary XML nodes... This is _without C::B_ (unfortunately) =(
--- End quote ---
Please show me the nodes you are adding / modifying manually and I show you where the UI counterpart is. As I said: *All* settings are available via the UI options.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version