Re: [CMake] cmake - library help

2010-05-27 Thread Michael Hertling
On 05/27/2010 05:32 PM, Torri, Stephen CIV NSWCDD, W15 wrote: >> From: cmake-boun...@cmake.org on behalf of Doug Reiland >> Sent: Thu 5/27/2010 11:14 AM >> To: cmake@cmake.org >> Subject: [CMake] cmake - library help >> >> First, I am new to cmake and explo

Re: [CMake] cmake - library help

2010-05-27 Thread aaron.meadows
-boun...@cmake.org] On Behalf Of Torri, Stephen CIV NSWCDD, W15 Sent: Thursday, May 27, 2010 12:42 PM To: Doug Reiland Cc: cmake@cmake.org Subject: Re: [CMake] cmake - library help > From: Doug Reiland [mailto:dreil...@gmail.com] > Sent: Thu 5/27/2010 12:48 PM > To: Torri, Stephen CIV NSWCDD, W15

[CMake] cmake - library help

2010-05-27 Thread Doug Reiland
tephen CIV NSWCDD, W15 wrote: >> From: cmake-boun...@cmake.org on behalf of Doug Reiland >> Sent: Thu 5/27/2010 11:14 AM >> To: cmake@cmake.org >> Subject: [CMake] cmake - library help >> >> First, I am new to cmake and exploring converting our home grown build &

Re: [CMake] cmake - library help

2010-05-27 Thread Torri, Stephen CIV NSWCDD, W15
> From: Doug Reiland [mailto:dreil...@gmail.com] > Sent: Thu 5/27/2010 12:48 PM > To: Torri, Stephen CIV NSWCDD, W15 > Subject: Re: [CMake] cmake - library help > > ok, I think I have this working, thanks. > I am building static version of "foo" as well. > Be

Re: [CMake] cmake - library help

2010-05-27 Thread Torri, Stephen CIV NSWCDD, W15
> From: cmake-boun...@cmake.org on behalf of Doug Reiland > Sent: Thu 5/27/2010 11:14 AM > To: cmake@cmake.org > Subject: [CMake] cmake - library help > > First, I am new to cmake and exploring converting our home grown build system. > How would I code this up in cmake >

[CMake] cmake - library help

2010-05-27 Thread Doug Reiland
First, I am new to cmake and exploring converting our home grown build system. How would I code this up in cmake I have composite objects that need to be added to a share library add_library(foo a.c b.c c.c) I also need x.o in the library AND x.o linked from: subdir-a/aa.c subdir-a/bb.c Thank