[CMake] Adding -fPIC to static libraries

William A. Hoffman billlist at nycap.rr.com
Wed Mar 1 16:13:01 EST 2006


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.

-Bill



More information about the CMake mailing list