Re: [CMake] Need a example to use dll in vs

2016-04-25 Thread Chaos Zhang
Jakob van Bethlehem wrote > Hej, > > You really should provide more detailed information about your project > structure, and what is going wrong. There are some subtle differences > between Linux/Windows, but not at the level you're referring to. Certainly > the IMPORTED property has nothing to

Re: [CMake] Need a example to use dll in vs

2016-04-25 Thread Jakob van Bethlehem
Hej, You really should provide more detailed information about your project structure, and what is going wrong. There are some subtle differences between Linux/Windows, but not at the level you're referring to. Certainly the IMPORTED property has nothing to do with a platform distinction. IMPORTED

Re: [CMake] Need a example to use dll in vs

2016-04-24 Thread Chaos Zhang
; as part of my > cmake process. Then I make sure the builds' install area is in the path > of the application. > > The issue may be your EXE cant find the DLL in its path. > > Scott > > -Original Message- > From: CMake [mailto: > cmake-bounces@ > ]

Re: [CMake] Need a example to use dll in vs

2016-04-24 Thread Scott Aron Bloom
ilto:cmake-boun...@cmake.org] On Behalf Of Chaos Zhang Sent: Sunday, April 24, 2016 8:14 PM To: cmake@cmake.org Subject: [CMake] Need a example to use dll in vs 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 num

[CMake] Need a example to use dll in vs

2016-04-24 Thread Chaos Zhang
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 g