[CMake] creating static library with references to other .lib files

kitts kitts.mailinglists at gmail.com
Fri Jun 15 03:03:00 EDT 2007


On Thursday 14 Jun 2007 12:23:07 pm Jesper Eskilson wrote:
> Is it really impossible to pass an option to the linker when creating a
> static library?

I have not gone through the whole thread but i think the function 
SET_TARGET_PROPERTIES(TARGET LINK_FLAGS "XYZ") can do it.

The problem i foresee  is that when you pass another library as a source file 
to a library, cmake may not pass this file as an argument when building your 
library.
-- 
Cheers!
kitts


More information about the CMake mailing list