Re: [CMake] Use FIND_LIBRARY to search & link for an executable?

2009-09-18 Thread Bill Hoffman
Hendrik Sattler wrote: Zitat von Bill Hoffman : If the executable exports symbols, it should create an import .lib file, and find_library should be able to find it. You can not link to a .exe file. He talks about Linux, not Windows, AFAIK. OK, then he needs to use the correct flags with d

Re: [CMake] Use FIND_LIBRARY to search & link for an executable?

2009-09-18 Thread Hendrik Sattler
Zitat von Bill Hoffman : If the executable exports symbols, it should create an import .lib file, and find_library should be able to find it. You can not link to a .exe file. He talks about Linux, not Windows, AFAIK. HS ___ Powered by www.kitware

Re: [CMake] Use FIND_LIBRARY to search & link for an executable?

2009-09-18 Thread Bill Hoffman
If the executable exports symbols, it should create an import .lib file, and find_library should be able to find it. You can not link to a .exe file. -Bill ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitwar

Re: [CMake] Use FIND_LIBRARY to search & link for an executable?

2009-09-18 Thread Hendrik Sattler
Zitat von Christian Ehrlicher : Von: Michael Wild On 18. Sep, 2009, at 8:14, Christian Ehrlicher wrote: > Hi, > > I've an external project which made the decision to create an > executable which exports symbols. This means if you want to write a > plugin for this project you have to link your

Re: [CMake] Use FIND_LIBRARY to search & link for an executable?

2009-09-18 Thread Michael Wild
On 18. Sep, 2009, at 9:15, Christian Ehrlicher wrote: Von: Michael Wild On 18. Sep, 2009, at 8:14, Christian Ehrlicher wrote: Hi, I've an external project which made the decision to create an executable which exports symbols. This means if you want to write a plugin for this project you hav

Re: [CMake] Use FIND_LIBRARY to search & link for an executable?

2009-09-18 Thread Christian Ehrlicher
> Von: Michael Wild > > On 18. Sep, 2009, at 8:14, Christian Ehrlicher wrote: > > > Hi, > > > > I've an external project which made the decision to create an > > executable which exports symbols. This means if you want to write a > > plugin for this project you have to link your plugin agains

Re: [CMake] Use FIND_LIBRARY to search & link for an executable?

2009-09-18 Thread Michael Wild
On 18. Sep, 2009, at 8:14, Christian Ehrlicher wrote: Hi, I've an external project which made the decision to create an executable which exports symbols. This means if you want to write a plugin for this project you have to link your plugin against this executable. Now I've the problem t

[CMake] Use FIND_LIBRARY to search & link for an executable?

2009-09-17 Thread Christian Ehrlicher
Hi, I've an external project which made the decision to create an executable which exports symbols. This means if you want to write a plugin for this project you have to link your plugin against this executable. Now I've the problem that FIND_LIBRARY doesn't find this executable. Does anybody k