Automatically generate a DLL .DEF file in Visual Studio?

前端 未结 3 1029
感动是毒
感动是毒 2021-01-11 13:34

Is there any way to automatically generate the DEF file for a DLL in Visual Studio? I\'ve always just manually created them before, but there\'s gotta be an easier way.

3条回答
  •  误落风尘
    2021-01-11 14:12

    See answer with demo project in here:

    https://stackoverflow.com/a/64302521/2338477

    I have included python script to generate .def file from static library, but that unfortunately does not work with variables / data.

提交回复
热议问题