How to build a DLL from the command line in Windows using MSVC

后端 未结 5 2017
时光说笑
时光说笑 2020-11-29 22:28

I\'ve been doing C for about 20 years but I\'ve never built a DLL; I\'ve always prefered to statically link.

I use the command line - cl.exe, etc - and gnumake makef

5条回答
  •  一生所求
    2020-11-29 23:04

    The easiest way to find out is to make a MSVC project where you set everything as you want, then enable build logging, make a build and analyze the buildlog for all the commands and their arguments.

提交回复
热议问题