Feature #1085

Create .framework and .plugin instead of .dylib and .so on Mac OS

Added by rti almost 8 years ago. Updated almost 8 years ago.

Status:New Start date:08/28/2010
Priority:Low Due date:
Assignee:- % Done:

0%

Category:OS: Mac
Target version:Version 0.9.0

Description

There are two ways to go on Mac OS.

The unix way is to have .dylib libraries in lib directories and includes in include directories like on any other unix system.
The real Mac way is to have .framework folders containing libraries and headers.
The drivers could fit into .plugin directories.

I am not sure whether this is really needed. It is the Mac style, but the unix way works very well too, so I assign low priority to this task.

History

#1 Updated by rti almost 8 years ago

Just stumbled upon this:

    MESSAGE("Will compile OpenThreads.framework!")
    SET_TARGET_PROPERTIES(${LIB_NAME} PROPERTIES
         FRAMEWORK TRUE
         FRAMEWORK_VERSION ${OPENTHREADS_VERSION}
         PUBLIC_HEADER  "${OpenThreads_PUBLIC_HEADERS}" 
         INSTALL_NAME_DIR "${OSG_COMPILE_FRAMEWORKS_INSTALL_NAME_DIR}" 
    )

Might be interesting :)

Also available in: Atom PDF