Vikas Kumar wrote:
I understand that it is currently not possible. But take the case where you as a software product developer, are given a proprietary .dll/.so file and you are creating a library that links with that file. If "ld -o foo.so -static bar.so foo.o " , can be written in a makefile and made to work, why cannot cmake have such an option ?
Look at the value of the variables CMAKE_C_CREATE_SHARED_LIBRARY and CMAKE_CXX_CREATE_SHARED_LIBRARY. You can set it yourself to change the rule.
-Brad _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake