Author Topic: Feature Request: Default Running Project In Workspace And Build Target  (Read 3373 times)

Offline ProfesorX

  • Single posting newcomer
  • *
  • Posts: 3
    • http://
First i wish to thank to all the developer team who mades possible for us to have this wonderful open source IDE :D

I think it would be nice to have a "Default Running Project for a workspace", useful when you have several project who are "only dependencies" of one project in the same workspace, so we don't need to change the active project, and later having to save because some change have been made to the workspace

Also, when changing the build target, make that change to all the projects in the workspace, and not only on the current project, because is very frustrating having to change manually the build target from "debug" to "release" and viceversa, if you have 20 or more projects inside a workspace.

nfz

  • Guest
Re: Feature Request: Default Running Project In Workspace And Build Target
« Reply #1 on: October 04, 2006, 06:00:57 am »
If you are using a nightly build you can do this already.  You can setup project dependencies for the main project so that only the main project needs to be active and if you hit build then all dependency projects are checked to see if they need to be built too.  What ever build target is active for the main project is also used for the dependecy projects.  Just make sure you use the same build target names and make note that target names are case sensitive.  If you have "Debug" target set for the build of your main project but one of the dependecies target name is "debug" then Code::Blocks will complain that it can't find "Debug" target for that dependecy project.
« Last Edit: October 04, 2006, 06:05:17 am by nfz »

nfz

  • Guest
Re: Feature Request: Default Running Project In Workspace And Build Target
« Reply #2 on: October 04, 2006, 06:35:48 am »
Here is a good reference: Using Project Dependencies