[CMake] Remove lib prefix when generating shared lib under	Windows
    Thiébault Benoît 
    dev at artenum.com
       
    Fri May 28 05:28:19 EDT 2010
    
    
  
Thank you for the advice, but these variables do not appear in my CMake configuration. Should I add them manually in the CmakeCache.txt file ?
Sorry if this is a newbie question, I'm not very familiar yet with cmake
Benoît
Le 28 mai 2010 à 11:20, Michael Wild a écrit :
> 
> On 28. May, 2010, at 11:05 , Thiébault Benoît wrote:
> 
>> Hi everyone,
>> 
>> I am using CMake to compile VTK using MinGW. The compilation goes with problem, but it generates libvtkXXX.dll and libvtkXXX.dll.a files.
>> How can I remove this lib prefix to the generated libraries ?
>> 
>> Thank you for your answers
>> 
>> Kind regards,
>> 
>> Benoît
> 
> See the CMAKE_SHARED_LIBRARY_PREFIX, CMAKE_SHARED_MODULE_PREFIX and CMAKE_STATIC_LIBRARY_PREFIX variables or the OUTPUT_NAME target property.
> 
> HTH
> 
> Michael
> 
    
    
More information about the CMake
mailing list