Author Topic: Import/compiling of wxWidgets using C::B  (Read 10229 times)

Offline troels

  • Multiple posting newcomer
  • *
  • Posts: 71
Import/compiling of wxWidgets using C::B
« 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

darklordsatan

  • Guest
Re: Import/compiling of wxWidgets using C::B
« Reply #1 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.

Offline troels

  • Multiple posting newcomer
  • *
  • Posts: 71
Re: Import/compiling of wxWidgets using C::B
« Reply #2 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

darklordsatan

  • Guest
Re: Import/compiling of wxWidgets using C::B
« Reply #3 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?

Offline troels

  • Multiple posting newcomer
  • *
  • Posts: 71
Re: Import/compiling of wxWidgets using C::B
« Reply #4 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

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Import/compiling of wxWidgets using C::B
« Reply #5 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:

darklordsatan

  • Guest
Re: Import/compiling of wxWidgets using C::B
« Reply #6 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

zieQ

  • Guest
Re: Import/compiling of wxWidgets using C::B
« Reply #7 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!
« Last Edit: July 28, 2005, 11:59:21 am by zieQ »

Offline troels

  • Multiple posting newcomer
  • *
  • Posts: 71
Re: Import/compiling of wxWidgets using C::B
« Reply #8 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

zieQ

  • Guest
Re: Import/compiling of wxWidgets using C::B
« Reply #9 on: July 28, 2005, 02:19:00 pm »
Oh yes you are true. I'll second you for the feature request  :D