2007/6/15, kitts <[EMAIL PROTECTED]>:

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.


Setting the LINK_FLAGS property does not work. CMake keeps track of the
dependency, so everything works nice inside CMake, but not when we ship the
library to our customers (since they only link with the original library).

--
/Jesper
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to