Re: [CMake] Build/Link with static libs

2006-05-03 Thread Brad King
Christian Lang wrote: Christian Lang wrote: Alexander Neundorf schrieb: my first problem is solved: To link against "foo/libbar.a", the link line options "-Lfoo -lbar" are produced. This works. But what if for some reason I do not want to use it this way, but want to directly specify "foo/lib

Re: [CMake] Build/Link with static libs

2006-05-02 Thread Christian Lang
Hi, Christian Lang wrote: Alexander Neundorf schrieb: Hi, my first problem is solved: To link against "foo/libbar.a", the link line options "-Lfoo -lbar" are produced. This works. But what if for some reason I do not want to use it this way, but want to directly specify "foo/libbar.a" a

Re: [CMake] Build/Link with static libs

2006-04-24 Thread Filipe Sousa
Christian Lang wrote: > Alexander Neundorf schrieb: > > Hi, > > my first problem is solved: To link against "foo/libbar.a", the link > line options "-Lfoo -lbar" are produced. This works. But what if for > some reason I do not want to use it this way, but want to directly > specify "foo/libbar

Re: [CMake] Build/Link with static libs

2006-04-24 Thread Christian Lang
Alexander Neundorf schrieb: --- Ursprüngliche Nachricht --- Von: Christian Lang <[EMAIL PROTECTED]> An: cmake@cmake.org Betreff: [CMake] Build/Link with static libs Datum: Tue, 18 Apr 2006 20:54:32 +0200 Hi, I want to link a target (executable) against some static (not ins

Re: [CMake] Build/Link with static libs

2006-04-19 Thread Alexander Neundorf
> --- Ursprüngliche Nachricht --- > Von: Christian Lang <[EMAIL PROTECTED]> > An: cmake@cmake.org > Betreff: [CMake] Build/Link with static libs > Datum: Tue, 18 Apr 2006 20:54:32 +0200 > > Hi, > > I want to link a target (executable) against some stat

[CMake] Build/Link with static libs

2006-04-18 Thread Christian Lang
Hi, I want to link a target (executable) against some static (not installed) libs (e.g. "./foo.a"). How can I do this? "TARGET_LINK_LIBRARIES" does not work. I cannot use "CMAKE_EXE_LINKER_FLAGS" either, because the flags appear before the object files, leading to link failure for dependency