[CMake] Adding -fPIC to static libraries

David Cole david.cole at kitware.com
Wed Mar 1 16:49:34 EST 2006


Sorry...... nmake *variables*, not nmake *targets*.... I knew I 
shouldn't have clicked send on that one...
Time to logoff for the day or something.

William A. Hoffman wrote:

>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