C
C
Cadog2014-03-13 06:31:07
C++ / C#
Cadog, 2014-03-13 06:31:07

makefile. How to disable static dependency linking?

Good laziness!
Perhaps the question is not well formulated. I'll try to explain what I'm talking about.
I have a project for Visual Studio 2010 which contains a makefile. With the help of this file I compile and collect dll. The size of the dll file is 30 mb.
When creating a regular project in Visual Studio, in the project options, you can change the value of the parameter Link library dependencies = NO. In this case, the size of the dll is reduced. As I understand it, this is due to the fact that dependent libraries are not assembled into the final dll.
22e919e3f1cb40ea8d5229058d477a2e.jpgActually the question is : what command / option should be registered in the makefile, similar to the option Link library dependencies = NO?
Thank you.
makefile: yadi.sk/d/Ry3J7lChKRdND

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DancingOnWater, 2014-03-13
@DancingOnWater

And look what adds to the command line turning this option on and off.
The standard mechanism generally does not imply static dependency linking in dll

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question