[CMake] scope of set_source_files_properties?

Verweij, Arjen VerweijA at tass-safe.com
Tue Mar 23 13:01:41 EDT 2010


Hi,

>-----Original Message-----
>From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On 
>Behalf Of Hendrik Sattler


>> That's a "convenience" library approach, and it's not really 
>> supported (partly because there is no way to implement it on some 
>> toolchains
>such
>> as MSVC).
>
>The problem comes up once in a while. And the argument for why this 
>doesn't work is that you cannot link static libraries into another. 
>Well, then don't, I'd say. CMake knows the names of the object files to 
>link into the final library, it just needs a frame to let the CMake 
>user work with it. One could be a VIRTUAL key word for add_library that 
>makes it just a place-holder for a group of object files: no link 
>stage. When such a "library" is linked to another, well... obvious...

Yes please! :) It would make my life much easier.

Regards,
Arjen


More information about the CMake mailing list