Proper way to link static libraries with dll

前端 未结 2 1200
野趣味
野趣味 2021-02-05 07:25

My project builds through few static libraries which should linked to main dll library gain one single dll as a result.

Using __declspec(dllexport) attribut

2条回答
  •  日久生厌
    2021-02-05 08:00

    Here Raymond Chan explains this behavior and the best solution is really just to use def file. As for how to generate it automatically for static a library - this discussion looks like a good starting point.

提交回复
热议问题