shared library dependency change in nextgen

Added by Kevin Thacker almost 6 years ago

in master, if I set a library to be shared:

C.Library $(THIS_APP) : $(SOURCES) $(HEADERS) : shared ;

and then invoked jam it would build it.

In nextgen this is not happening.

I need to use Depends all : $(THIS_APP) ;

In master in rule C.SharedLibraryFromObjects TARGET : OBJECTS : OPTIONS:

Depends all : $(TARGET) ; <<<****************************************
  1. Depends $(TARGET) : $(_linkTargets) ;
    NotFile $(TARGET) ;
  2. Depends $(_linkTargets) : $(_s) ;
    Depends $(_t) : $(_s) ;
    MakeLocate $(_linkTargets) : $(outputPath) ;

in nextgen:

Depends $(TARGET) : $(C.ACTIVE_TOOLCHAIN_TARGET) : $(_t) : $(_s) ;
NotFile $(TARGET) $(C.ACTIVE_TOOLCHAIN_TARGET) ;

Is this a bug?

Please add a test your samples/unit tests. thanks.


Replies (2)

RE: shared library dependency change in nextgen - Added by Joshua Jensen almost 6 years ago

This is not a bug.

Automatic adding of all shared libraries to the all target was causing issues for a number of people. It was requested that I remove the support. I didn't care either way, so it is gone.

-Josh

RE: shared library dependency change in nextgen - Added by Kevin Thacker almost 6 years ago

Joshua Jensen wrote:

This is not a bug.

Automatic adding of all shared libraries to the all target was causing issues for a number of people. It was requested that I remove the support. I didn't care either way, so it is gone.

-Josh

no problem.

My reaction was a bit like "OMG!" and a bit knee jerk. It's not a problem, I've modified our c.jam locally for us.

EDIT: sorry, i didn't see when this change on nextgen happened.

(1-2/2)