search

Home  >  Q&A  >  body text

c++ - VS2013/VS2015如何使编译的DLL文件体积尽可能的小?

VS2013/VS2015 C++ win32/MFC,请问怎么才能在不影响运行的情况下让编译的DLL文件体积尽可能的小?

怪我咯怪我咯2806 days ago679

reply all(1)I'll reply

  • 阿神

    阿神2017-04-17 15:28:34

    Enable the minimum size optimization option when compiling, use less inline functions, use less functions in the standard library, use MD/MDd instead of RTTI and exceptions in the program. Well, that’s all I can think of right now.

    reply
    0
  • Cancelreply