[cmake-developers] SONAME on APPLE?

Stephen Kelly steveire at gmail.com
Mon Jul 9 13:21:33 EDT 2012


Stephen Kelly wrote:

> More interesting is that cmake is generating an IMPORTED_SONAME of just
> 'cmakeqt' when I build the library as a framework (no full path, no
> version number, no file extension). Is this a bug in CMake?

Just to clarify this:

akademischemobilosx:build kdab$ make install
    [100%] Built target cmakeqt
    Install the project...
    -- Install configuration: "Debug"
    -- Installing: 
/Users/kdab/dev/cmake/build/prefix/cmakeqt.framework/cmakeqt.framework
    -- Up-to-date: 
/Users/kdab/dev/cmake/build/prefix/cmakeqt.framework/cmakeqt.framework/cmakeqt
    -- Up-to-date: 
/Users/kdab/dev/cmake/build/prefix/cmakeqt.framework/cmakeqt.framework/Resources
    -- Installing: 
/Users/kdab/dev/cmake/build/prefix/cmakeqt.framework/cmakeqt.framework/Versions
    -- Installing: 
/Users/kdab/dev/cmake/build/prefix/cmakeqt.framework/cmakeqt.framework/Versions/5.0.0
    -- Up-to-date: 
/Users/kdab/dev/cmake/build/prefix/cmakeqt.framework/cmakeqt.framework/Versions/5.0.0/cmakeqt
    -- Installing: 
/Users/kdab/dev/cmake/build/prefix/cmakeqt.framework/cmakeqt.framework/Versions/5.0.0/Resources
    -- Up-to-date: 
/Users/kdab/dev/cmake/build/prefix/cmakeqt.framework/cmakeqt.framework/Versions/5.0.0/Resources/Info.plist
    -- Up-to-date: 
/Users/kdab/dev/cmake/build/prefix/cmakeqt.framework/cmakeqt.framework/Versions/Current
    -- Up-to-date: /Users/kdab/dev/cmake/build/prefix/share/MyTargets.cmake
    -- Up-to-date: /Users/kdab/dev/cmake/build/prefix/share/MyTargets-
debug.cmake
    akademischemobilosx:build kdab$ otool -D 
/Users/kdab/dev/cmake/build/prefix/cmakeqt.framework/cmakeqt.framework/cmakeqt
    /Users/kdab/dev/cmake/build/prefix/cmakeqt.framework/cmakeqt.framework/cmakeqt:
    cmakeqt.framework/Versions/5.0.0/cmakeqt
    akademischemobilosx:build kdab$ grep SONAME 
/Users/kdab/dev/cmake/build/prefix/share/MyTargets-debug.cmake
      IMPORTED_SONAME_DEBUG "cmakeqt"
    akademischemobilosx:build kdab$







More information about the cmake-developers mailing list