[CMake] creating static library with references to other .lib files
Jesper Eskilson
jesper at eskilson.se
Thu Jun 7 08:43:39 EDT 2007
Hi all,
I would like to be able to create a static library on Windows which
includes an import library to a DLL, so that users of the static
library do not need to specify the import library.
CMake does not allow me to do this.
TARGET_LINK_LIBRARIES( FooLib BarLib )
does not work when creating static libraries.
SET_TARGET_PROPERTIES( FooLib PROPERTIES LINK_FLAGS_RELEASE BarLib )
does not work either.
What to do?
--
/Jesper
More information about the CMake
mailing list