News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

linking problem

Started by lud2k, September 20, 2006, 12:06:14 AM

Previous topic - Next topic

lud2k

Hello,

I've a little problem.

I've a Workspace with two projects, the first project is a library and the second project is an executable using the functions of the library. I've put the library (first project) as a dependence of the executable so when i compile the executable, it compile both projects if the library is not up to date.

The problem is : when i build the executable (and I only edited the library), it compiles the library but not the executable so it does not link the new library just compiled.

Actually I'm using "Rebuild" on the executable so it compiles the library (only the changes so it's fast) and it build all files of the executable and it links them all (very very slow :-( ).

Is there any way by using pre-build or post-build commands (or any other methods) to say to C::B to link the library to the executable even if the executable is up-to-date ?

Thanks a lot
Ludovic Cabre
http://sd-2016.dedibox.fr/

mandrav

In executable project's properties (Project->Properties), add the static lib as an external dependency.
Be patient!
This bug will be fixed soon...

lud2k

yeaaah :-)
it's working.
Thanks a lot :-)

oBFusCATed

Hello,

Is this feature still working, Because I have a similar setup, but can't get it to work? :(
Can someone explain the steps to achieve the effect?
I looked at the wiki but the info looks too outdated ( wiki article )

I'm using linux if it make any difference (I suppose no).

Best regards,
Teodor Petrov

p.s. If it is serious problem that I have risen this thread from the dead, feel free to contact me and I'll start another one. :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]