How do I create dll project on windows?

As title says, I want to create project with DLL on windows, how do I do it?

0
Avatar
Permanently deleted user

Stefan,

 

you can simply specify a shared library as a target in CMake.lists file. Use add_library command instead of add_executable as follows:

add_library (my_Library SHARED ${my_SourceFiles})

 

Renat

0

请先登录再写评论。