Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I disable exp/lib generation when building an exe?

I realize this is probably caused by some _dllexport() somewhere, not in my code but in some third-party piece. (Qt, Boost, OpenSG, ...)

Is there a simple linker option to disable this? I've searched but not found anywhere.

like image 482
Macke Avatar asked Dec 22 '25 01:12

Macke


1 Answers

  • To disable generation of .lib use /NOIMPLIB linker switch.
  • To disable generation of .exp files use /NOEXP linker switch.
like image 178
Igor Levicki Avatar answered Dec 24 '25 16:12

Igor Levicki



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!