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
-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
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
&
> 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
> 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
>
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