[CMake] *.so on Mac

Sean McBride sean at rogue-research.com
Wed Sep 7 11:43:47 EDT 2011


On Mon, 5 Sep 2011 06:49:45 +0200, Michael Wild said:

>> Shouldn't dynamic libraries on Mac have "dylib" as their extension? 
>>
>> Why does MyLib have an extension "so" when I use add_library(MyLib MODULE)?
>>
>> Thanks
>>
>> Yifei
>
>Because a MODULE is normally a "plugin" library, and these 
>traditionally have the extension .so on Mac.

Do they?

I just searched all of /System and the only .so I find are in Python.framework.  I've been using Macs since the early 90s, I don't recall any tradition of using .so for anything, but could be wrong...

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the CMake mailing list