[CMake] -fPIC flag on object build for static lib targets?
James Mansion
james at wgold.demon.co.uk
Mon Oct 2 17:29:14 EDT 2006
>
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.
James
More information about the CMake
mailing list