Author Topic: Project depending on another project (library) does not relink?  (Read 5197 times)

Offline sque

  • Multiple posting newcomer
  • *
  • Posts: 65
Project depending on another project (library) does not relink?
« on: September 04, 2006, 04:11:42 pm »
There is a scenario with 2 projects on the same workspace
* Project A: a static library
* Project B: an application that links with project a library

I have set dependancy of Project B on Project A.
I have set Project B as active target and I make a change on Project A. When I press the build, The project A builds and the project B doesn't relink with the new library created by project A.

like this:
Code
-------------- Build: Debug in 3dEngine ---------------
Compiling: ../../aacrenderer.cpp
Linking static library: ../../objects/lib3dEngine_d.a

-------------- Build: Debug in final_ergasia ---------------
Target is up to date.
Process terminated with status 0 (0 minutes, 5 seconds)
0 errors, 0 warnings

Is there a way to tell a project to relink objects instead of manually rebuilding the project B?
Tell me a bug and I 'll tell you two  :twisted:

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Project depending on another project (library) does not relink?
« Reply #1 on: September 04, 2006, 05:11:57 pm »
Yes, add lib3dEngine_d.a as an external dependency of the Debug target in project B.
Be patient!
This bug will be fixed soon...

Offline sque

  • Multiple posting newcomer
  • *
  • Posts: 65
Re: Project depending on another project (library) does not relink?
« Reply #2 on: September 04, 2006, 08:47:45 pm »
 :mrgreen:
Tell me a bug and I 'll tell you two  :twisted: