Share via


When not to use "Use Library Dependency Inputs"

Question

Wednesday, March 15, 2017 7:22 PM | 1 vote

I have an executable project and a lot of library projects.

I am thinking about enabling "Use Library Dependency Inputs".

I couldn't find any disadvantages.

What are they?

All replies (3)

Wednesday, March 15, 2017 7:40 PM

It's a linker option about Incremental Linking.

In this pmsdn: htts://msdn.microsoft.com/en-us/library/4khtbfyf.aspx there is a note about increase file size...and "jump thunks"... sounds like a little bit of a joke there :)


Friday, March 17, 2017 8:53 AM

Hi KalitaAlexey,

Please describe your issue clearly, such as which type project you are developing and share us steps to help you repro your issue, which could help others to help you troubleshot this issue.

Sincerely,

Oscar

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].


Monday, March 20, 2017 10:00 AM | 2 votes

Hi KalitaAlexey,

Generally it was the Link property for VC++ app.

In a large project, when a dependent project produces a .lib file, incremental linking is disabled. If there are many dependent projects that produce .lib files, building the application can take a long time. When this property is set to Yes, the project system links in the .obj files for .libs produced by dependent projects, thus enabling incremental linking.

I think you could get more information here:

https://blogs.msdn.microsoft.com/vcblog/2013/10/29/the-visual-c-linker-best-practices-developer-iteration/

You could also compare it with the Link Library Dependencies and get more useful information here:

http://stackoverflow.com/questions/28233673/link-library-in-visual-studio-why-two-different-ways

Best Regards,

Jack

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].