Updated OS X build instructions

This commit is contained in:
Graham Perks 2011-07-25 17:56:42 -05:00
parent 3b4e4357e6
commit 6aa41d8180

11
INSTALL
View File

@ -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
----------