0

Possible Duplicate:
Automatically generate a DLL .DEF file in Visual Studio?

Is there any way where .def file is generated automatically in VS 2005?

halfer
  • 19,824
  • 17
  • 99
  • 186
Vinayaka Karjigi
  • 1,070
  • 5
  • 13
  • 37
  • Why do you think you need to generate a .DEF file in the first place? – Cody Gray - on strike May 21 '11 at 14:25
  • 1
    This is a chicken-and-egg question. A .def file determines what functions are exported from a DLL. You can also decorate your functions with __declspec(dllexport) to get them exported. But then you don't need a .def file anymore. – Hans Passant May 21 '11 at 15:41
  • Yes, it's possible with newest version of the CMake. Look at my answer for clarification: http://stackoverflow.com/a/32284832/3001953 – Maks Aug 29 '15 at 10:38

0 Answers0