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
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to