User forums > General (but related to Code::Blocks)

Import/compiling of wxWidgets using C::B

(1/2) > >>

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.

--- End quote ---

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?

--- End quote ---

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

Navigation

[0] Message Index

[#] Next page

Go to full version