Re: [CMake] How to link against a .dll with cmake?

2010-07-24 Thread John Drescher
> mingw can link using a .dll > I do not have much mingw experience but I have around 15 of windows and Visual Studio experience. With Visual Studio you absolutely do not link your application with .dlls. You use import libs with a .lib extension the same way you do with a static lib. This import

[CMake] Fwd: How to link against a .dll with cmake?

2010-07-24 Thread John Drescher
Maybe I am misunderstanding the question or response, but I regularly link to .dll files using mingw. On Sat, Jul 24, 2010 at 11:00 PM, John Drescher wrote: >>> I know that target_link_libraries can be used to link a .lib , >>> >>> but how to link a .dll into the project? >>> >>> >> You do not

Re: [CMake] How to link against a .dll with cmake?

2010-07-24 Thread andy fillebrown
mingw can link using a .dll On Sat, Jul 24, 2010 at 11:00 PM, John Drescher wrote: >>> I know that target_link_libraries can be used to link a .lib , >>> >>> but how to link a .dll into the project? >>> >>> >> You do not link against a .dll in windows ever. >> > When you create a .dll there is a

Re: [CMake] How to link against a .dll with cmake?

2010-07-24 Thread John Drescher
>> I know that target_link_libraries can be used to link a .lib , >> >> but how to link a .dll into the project? >> >> > You do not link against a .dll in windows ever. > When you create a .dll there is also a small import lib associated with the dll. You link with that and when the application sta

Re: [CMake] How to link against a .dll with cmake?

2010-07-24 Thread John Drescher
> I know that target_link_libraries can be used to link a .lib , > > but how to link a .dll into the project? > > You do not link against a .dll in windows ever. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www

[CMake] How to link against a .dll with cmake?

2010-07-24 Thread Mr Shore
Hi all I know that* target_link_libraries* can be used to link a* .lib* , but how to link a *.dll *into the project? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please k

Re: [CMake] Finding Python3

2010-07-24 Thread Michael Wild
On 24. Jul, 2010, at 5:58 , Michael Hertling wrote: > On 07/23/2010 09:02 AM, Michael Wild wrote: >> >> On 23. Jul, 2010, at 6:29 , Michael Hertling wrote: >> >>> On 07/22/2010 10:36 AM, Michael Wild wrote: On 22. Jul, 2010, at 10:17 , Marcel Loose wrote: [...] > > Hi M

Re: [CMake] Finding Python3

2010-07-24 Thread Michael Wild
On 23. Jul, 2010, at 18:43 , Branan Purvine-Riley wrote: > On Fri, Jul 23, 2010 at 12:28 AM, Michael Wild wrote: >> >> On 23. Jul, 2010, at 8:59 , Branan Purvine-Riley wrote: >> >>> On Sunday 18 July 2010 12:07:43 you wrote: On Sunday 18 July 2010 09:15:17 Michael Hertling wrote: > On