[CMake] -fPIC flag on object build for static lib targets?
Brad King
brad.king at kitware.com
Tue Oct 3 10:03:17 EDT 2006
James Mansion wrote:
> http://www.cmake.org/Wiki/CMake_FAQ#Does_CMake_support_.22convenience.22_lib
> raries.3F
>
> The FAQ is misleading - they DO make sense for (all) non-UNIX linkers. What
> non-UNIX linkers do not have an equivalence to an archive?
>
> There is no reason why I cannot compile a load of objects with DLL
> compilation objects and stick them in a static library for inclusion into
> DLLs later. I've done it plenty of times in Visual Studio.
Several times people have asked for convenience libraries and were
unable to explain what they meant on windows. We've not had time to
investigate it ourselves.
Do you know if they work on Borland, MinGW, and cygwin as well as VS?
-Brad
More information about the CMake
mailing list