[CMake] Adding -fPIC to static libraries

Prakash Punnoor prakash at punnoor.de
Wed Mar 1 16:33:12 EST 2006


Am Mittwoch März 1 2006 22:13 schrieb William A. Hoffman:
> At 03:51 PM 3/1/2006, David Cole wrote:
> >>This was fixed in CVS CMake, nmake now allows - in the target name.
> >
> >Just to clarify, CMake allows "-" in  CMake target names... Then it
> > translates it into something else that is accepted by nmake. "-" is still
> > not allowed inside of an nmake makefile.
>
> No, - is allowed in the target names for nmake.   It was a variable in
> nmake that caused the problem.  Something like target-name_OBJ_FILES= ....,
> is now target_name_OBJ_FILES=....
>
> But the target name is still target-name, when it gets linked.

Uhm, will it work if you try to make two libraries named foo_a and foo-a? (not 
very smart to do so, I know, but...)
-- 
(°=                 =°)
//\ Prakash Punnoor /\\
V_/                 \_V
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20060301/48bfb7db/attachment.pgp


More information about the CMake mailing list