mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Updated OS X build instructions
This commit is contained in:
parent
3b4e4357e6
commit
6aa41d8180
11
INSTALL
11
INSTALL
@ -30,7 +30,16 @@ an Universal Binary framework with Mac OS X 10.4 as the deployment target:
|
||||
-DCMAKE_CXX_COMPILER=/usr/bin/c++-4.0 \
|
||||
-DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.4u.sdk/ \
|
||||
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.4 \
|
||||
-DCMAKE_OSX_ARCHITECTURES="ppc;i368;x86_64"
|
||||
-DCMAKE_OSX_ARCHITECTURES="ppc;i386;x86_64"
|
||||
|
||||
For a 10.6 Snow Leopard take, use:
|
||||
cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_FRAMEWORK=ON \
|
||||
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.6 \
|
||||
-DCMAKE_OSX_ARCHITECTURES="i386;x86_64"
|
||||
|
||||
After 'make', taglib.framework will be found in taglib/tag.framework. Add this to
|
||||
your project in XCode, then #include <tag/taglib.h>, similarly for other headers.
|
||||
|
||||
Unit Tests
|
||||
----------
|
||||
|
Loading…
x
Reference in New Issue
Block a user