Author Topic: Desired features  (Read 10004 times)

mike

  • Guest
Desired features
« on: March 23, 2005, 10:50:38 pm »
Thanx a lot for keeping C::B turning!

A few nice-to-have things.
Background: I have a two-project workspace, where one project produces a library, whilst the other one - the executable, which uses that library.

1. I'd like to have an inter-project dependency, so when I change a file in the Library project, I don't have to say "Rebuild all".

2. I'd like to have the TODO list updated for all projects in the workspace, not just the current one.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Desired features
« Reply #1 on: March 25, 2005, 09:54:04 am »
You should file a feature request otherwise I 'll forget ;)
Quote
I'd like to have an inter-project dependency, so when I change a file in the Library project, I don't have to say "Rebuild all"

Until something like that is implemented, I 'll tell you how I handle such situations.
I have a workspace with a project generating some DLLs and a project generating an EXE (which uses those DLLs). The top project in the tree is the DLL. When I want to compile, I don't use "Compile" but instead I use "Compile all projects" (Alt-C, J). This will invoke "Compile" on each project, starting from the top. This procedure hasn't failed me yet :)

HTH,
Yiannis.
Be patient!
This bug will be fixed soon...

mike

  • Guest
Desired features
« Reply #2 on: March 26, 2005, 10:01:23 pm »
It failed for me, because the EXE project has to be linked to the new LIB file (unlike DLL case, where the binding is runtime). C::B-b5 did not have a dedicated option for library files, so the change to the LIB file went unnoticed. I don't know yet how C::B-b6 handles this (couldn't compile yet) - but I assume that as you work mostly with DLLs, you didn't pay attention to the LIB use case :-)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Desired features
« Reply #3 on: March 27, 2005, 12:31:52 pm »
In project properties, below the object/deps dirs settings, there is a box called "External dependencies" with a browse button next to it. This is what you 're looking for. Use it and browse to select the LIB your EXE depends on (do this in your EXE's properties).
It's been there since beta5 IIRC, and back when I added it, it worked. I hope it still does 'cause I haven't used this feature for a while  :oops:

EDIT: if it still works, it will only when using "make" to build. I don't recall the direct-mode using it (will fix it though).

HTH,
Yiannis.
Be patient!
This bug will be fixed soon...

Anonymous

  • Guest
Desired features
« Reply #4 on: March 27, 2005, 10:34:16 pm »
Thanx, I'll test it as soon as I can compile (see my multiple-target problem in another forum).

What is a MAKE build? Ordinary F9, or..?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Desired features
« Reply #5 on: March 27, 2005, 11:38:02 pm »
"Settings/Configure plugins/Compiler", switch to "Other" tab and change the build-method (per-compiler setting).

Yiannis.
Be patient!
This bug will be fixed soon...

biscuitz

  • Guest
Desired features
« Reply #6 on: April 14, 2005, 10:41:24 pm »
Hey they need to fix that annoying message that pops up when you exit. There ought to be an option to turn it off. I normally don't want to save my "Workspace" anyway.

Anonymous

  • Guest
Desired features
« Reply #7 on: April 16, 2005, 12:14:01 am »
Please put it in features request at SourceForge. I did for "this file was edited outside the IDE", and it got implemented the same day :D