Re: [CMake] linking to arbitrary libraries in linux.

2008-02-29 Thread Bill Hoffman
Alexander Neundorf wrote: On Friday 29 February 2008, David Cole wrote: On 2/28/08, Alexander Neundorf <[EMAIL PROTECTED]> wrote: target_link_libraries(targetName /full/path/to/libName.a) FYI: The "/full/path/to/" feature was only recently added to CVS CMake. The specify lib by a full path te

Re: [CMake] linking to arbitrary libraries in linux.

2008-02-28 Thread Alexander Neundorf
On Friday 29 February 2008, David Cole wrote: > On 2/28/08, Alexander Neundorf <[EMAIL PROTECTED]> wrote: > > target_link_libraries(targetName /full/path/to/libName.a) > > FYI: > > The "/full/path/to/" feature was only recently added to CVS CMake. The > specify lib by a full path technique may not

Re: [CMake] linking to arbitrary libraries in linux.

2008-02-28 Thread David Cole
On 2/28/08, Alexander Neundorf <[EMAIL PROTECTED]> wrote: > > > target_link_libraries(targetName /full/path/to/libName.a) FYI: The "/full/path/to/" feature was only recently added to CVS CMake. The specify lib by a full path technique may not work as you'd expect in CMake 2.4.8 If you want

Re: [CMake] linking to arbitrary libraries in linux.

2008-02-28 Thread Alexander Neundorf
On Thursday 28 February 2008, Christopher Harvey wrote: > Hi, > Before I ask my question I want to clarify what I mean by an "arbitrary > library". There are libraries that are registered in the system and you > can link to them like so: > target_link_library(targetName GL SDL pq) > and they get se

Re: [CMake] linking to arbitrary libraries in linux.

2008-02-27 Thread Christopher Harvey
Philip Lowman wrote: > On Wed, Feb 27, 2008 at 8:08 PM, Christopher Harvey > <[EMAIL PROTECTED] > wrote: > > Philip Lowman wrote: > > On Wed, Feb 27, 2008 at 7:13 PM, Christopher Harvey > > <[EMAIL PROTECTED] >

[CMake] linking to arbitrary libraries in linux.

2008-02-27 Thread Philip Lowman
On Wed, Feb 27, 2008 at 8:08 PM, Christopher Harvey <[EMAIL PROTECTED]> wrote: > Philip Lowman wrote: > > On Wed, Feb 27, 2008 at 7:13 PM, Christopher Harvey > > <[EMAIL PROTECTED] > wrote: > > > > Hi, > > Before I ask my question I want to clarify what I mean by

[CMake] linking to arbitrary libraries in linux.

2008-02-27 Thread Christopher Harvey
Hi, Before I ask my question I want to clarify what I mean by an "arbitrary library". There are libraries that are registered in the system and you can link to them like so: target_link_library(targetName GL SDL pq) and they get sent to the linker int the form: -lGL -lSDL -lpq that fine, but I have