Hi all, I am trying to _include_ an externally built library B in a static lib A that I'm building with Cmake.
For MSVC, I would like it to end up in the Librarian>Additional Dependencies (and have its path in the Additional Library Directories). Also, this would add some /LIBPATH: and the library names at the end of the linker command. For Linux ld, the equivalent result would be to have the B library appended to the linker command, with the -whole-archive parameter. Apparently, using the Cmake command: target_link_libraries(<my lib A> <my lib B>) with Cmake 2.6.0 patch0 does not produce this result (nothing in the additional dependencies field in MSVC) Is that supported by Cmake ? Thanks a bunch, Armand
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake