News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Import/compiling of wxWidgets using C::B

Started by troels, July 26, 2005, 04:29:59 PM

Previous topic - Next topic

troels

Importing wxWidgets 2.6.1/build/msw/wx.dsw (to MinGW) seems to work ok, almost (=all targets becomes type Static Library, including the Win32 DLL ones, Win32 DLL Debug etc.).

How to compile then? Do C::B have a batch build feature that I've overlooked, or is a batch build feature planned?

Without batch build (or building using dependencies as in MSVC), I guess one must manually activate and compile each .cbp project, one at a time, tedious, not really usable.

Regards
Troels
Using C::B RC1

darklordsatan

? There is only one project, that has several targets. Then you open it and go to Compile->Select Target->All (this is the default IIRC), and then compile it!
Also, theres an option to "Compile all Projects" for instance.

troels

Quote from: darklordsatan on July 26, 2005, 05:00:30 PM
? There is only one project, that has several targets.

wxWidgets is composed of many projects, base/core/adv/html/xml/xrc/net etc., many .cbp's, each cbp having many targets.
It would be really cool if you could say "for all the projects in this workspace, compile/rebuild target Win32 DLL Debug".
(Actually it's a must for large scale projects - such as wxWidgets)

Regards,
Troels

darklordsatan

 :oops: My bad. For some reason I thought you were talking about C::B, not Wxwidgets! hehe Sorry about that.

Yep, dont see an option for that, and indeed is a must. I remember a loooong time ago when I used VC++6 and now I recall using that batch build option myself. Indeed comes in handy when you have a big workspace with several projects and each with several targets.

Maybe why dont you make a feature request?

troels

Quote from: darklordsatan on July 26, 2005, 05:35:23 PM
Yep, dont see an option for that, and indeed is a must...
Maybe why dont you make a feature request?

Ok, I'll do that now, I just needed to make sure that I wasn't overlooking something, hadn't turned blind! (I'm still only a casual C::B user, sitting on the fence until precompiled headers and batch build - or dependency build - comes along, then goodbye makefiles, rot in pieces makefiles)

darklordsatan?! Isn't that a somewhat weird handle? Might put some people off?

Greetings,
Troels

rickg22

Quote from: troels on July 26, 2005, 10:38:23 PM
darklordsatan?! Isn't that a somewhat weird handle? Might put some people off?

I call him Stan, that way it sounds much more harmless :lol:

darklordsatan

Quote from: troels on July 26, 2005, 10:38:23 PM
darklordsatan?! Isn't that a somewhat weird handle? Might put some people off?

It does sometimes. But "Live and Let Live" :D

zieQ

#7
There are some problems with visual imports, I'm currently working on. I'll submit a patch soon.

And again, there's a compile all feature!

troels

Quote from: zieQ on July 28, 2005, 11:48:25 AM
And again, there's a compile all feature!
That's a "compile all targets in all projects" feature, right? A bit extensive for large projects, e.g. in wxWidgets I only need targets "Win32 DLL Debug" and "Win32 Release", it will take forever to compile all the targets in all the (sub)projects.

Regards,
Troels

zieQ

Oh yes you are true. I'll second you for the feature request  :D