]> granicus.if.org Git - taglib/commitdiff
Updated OS X build instructions
authorGraham Perks <gperks2011@gmail.com>
Mon, 25 Jul 2011 22:56:42 +0000 (17:56 -0500)
committerGraham Perks <gperks2011@gmail.com>
Mon, 25 Jul 2011 22:56:42 +0000 (17:56 -0500)
INSTALL

diff --git a/INSTALL b/INSTALL
index 8391c0b3ff88706ee573980856a6d693a2e93680..9d1ed410e6215eb40a61b7dd5aca5b1ca08d3487 100644 (file)
--- a/INSTALL
+++ b/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
 ----------