[CMake] Need a example to use dll in vs

Chaos Zhang zcsd2012 at gmail.com
Sun Apr 24 23:13:48 EDT 2016


Hi all,

I faced a problem when i migrate a project from Linux to windows for the
visual stdio seem can not use dll directly. I look through a number of
material  and known i seem should use IMPORTED in add_library(...), but i
can not find a practical example about how to use it. Could you please give
me one or some? BTW the dll lib seem could be used in Mingw makefile on
windows.

Thanks,
Chao Zhang



--
View this message in context: http://cmake.3232098.n2.nabble.com/Need-a-example-to-use-dll-in-vs-tp7593331.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list