Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: troels on July 26, 2005, 04:29:59 pm

Title: Import/compiling of wxWidgets using C::B
Post by: troels on July 26, 2005, 04:29:59 pm
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
Title: Re: Import/compiling of wxWidgets using C::B
Post by: darklordsatan on July 26, 2005, 05:00:30 pm
? 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.
Title: Re: Import/compiling of wxWidgets using C::B
Post by: troels on July 26, 2005, 05:17:46 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
Title: Re: Import/compiling of wxWidgets using C::B
Post by: darklordsatan on July 26, 2005, 05:35:23 pm
 :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?
Title: Re: Import/compiling of wxWidgets using C::B
Post by: troels on July 26, 2005, 10:38: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
Title: Re: Import/compiling of wxWidgets using C::B
Post by: rickg22 on July 26, 2005, 11:08: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:
Title: Re: Import/compiling of wxWidgets using C::B
Post by: darklordsatan on July 26, 2005, 11:10:06 pm
darklordsatan?! Isn't that a somewhat weird handle? Might put some people off?

It does sometimes. But "Live and Let Live" :D
Title: Re: Import/compiling of wxWidgets using C::B
Post by: zieQ on July 28, 2005, 11:48:25 am
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!
Title: Re: Import/compiling of wxWidgets using C::B
Post by: troels on July 28, 2005, 01:57:42 pm
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
Title: Re: Import/compiling of wxWidgets using C::B
Post by: zieQ on July 28, 2005, 02:19:00 pm
Oh yes you are true. I'll second you for the feature request  :D