User forums > Using Code::Blocks

move project from linux <--> windows

<< < (2/2)

Biplab:

--- Quote from: killerbot on May 26, 2008, 11:11:24 pm ---@Biplab : just a little reminder  8)

--- End quote ---

Thanks for reminding me. I almost forgot this. ;)

Alexis:
And generating a project file for C::B under MacOSX would be great as well...

LeRoi:
I thought this is already possible !

Using multiple build targets on codeblocks is well supported , not ?
and you don't have to use a text editor, just add a new build target, configure it correctly, and you can use the same cbp file on multiple platforms .

Please correct me if I'm wrong .

Alexis:

--- Quote ---I thought this is already possible !

Using multiple build targets on codeblocks is well supported , not ?
and you don't have to use a text editor, just add a new build target, configure it correctly, and you can use the same cbp file on multiple platforms .

Please correct me if I'm wrong .
--- End quote ---

Look at wxWidgets's project wizard. When you are in the step "Select the compiler" (i. e. target?), it would be nice to be able to select also an OS (typically : Windows, Linux, MacOSX, WinCE). The best thing would to be able to create several targets at a same time. A target would be a combination of compiler and OS. Probably quite hard to implement, but would be very useful. In a first time, only most common combinations could be implemented.

To eventually make this wizard a killer-app, in the step "GUI Builder", the two following "Application types" could be added:

* MDI
* wxAUI MDI
And finally, supporting the doc/view architecture (add a checkbox in this step) would be enjoyable! I have already posted a request for this.

I haven't the time to do it right now, but in the next months, maybe, if nobody has done it before...

Deschamps:
Hello,

I'm not sure about having understood correctly this thread, but (as LeRoi has said) I think that, having in mind the great range of configurations all of us are using, the most simple way is definig "user templates". In fact, I'm using some self-defined templates containing multiple platform targets with multiple configurations, and I'm using all of them without problems (I only needed to copy this template to my user folder in each system).

Doing that, I can work satisfactorily with the same source (the same physical folder, obviously saved in a shared partition) from any system installed in my box.

Regards.

Navigation

[0] Message Index

[*] Previous page

Go to full version