On 6/12/07, Jesper Eskilson <[EMAIL PROTECTED]> wrote:
2007/6/7, Jesper Eskilson <[EMAIL PROTECTED]>: > > > > 2007/6/7, Brandon Van Every < [EMAIL PROTECTED]>: > > > > On 6/7/07, Jesper Eskilson < [EMAIL PROTECTED]> wrote: > > > 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. > > > > I'm still interested in a solution to my original problem, though.
On some platforms, I bet the underlying linker AR can't even do it. I know it can't put static libraries inside of static libraries, thats' why everyone wants "convenience libraries" and I had to work on all that object file fakery. Possibly it can't take a DLL stub .lib either. So, if there is a solution for some platforms, it's not likely to be portable. I don't know what the MSVC linker can accomplish. Would suggest reading the MSVC docs to make sure it can be done. What you're asking for seems kinda weird. What's the motive? Cheers, Brandon Van Every
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake