]> granicus.if.org Git - taglib/commitdiff
Example cmake for OS X to build a static library
authorGraham Perks <gperks2011@gmail.com>
Tue, 26 Jul 2011 16:12:27 +0000 (11:12 -0500)
committerGraham Perks <gperks2011@gmail.com>
Tue, 26 Jul 2011 16:12:27 +0000 (11:12 -0500)
INSTALL

diff --git a/INSTALL b/INSTALL
index 9d1ed410e6215eb40a61b7dd5aca5b1ca08d3487..6870e58ff32fd60d6bce61d73f7a3b1c51be1946 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -32,14 +32,16 @@ an Universal Binary framework with Mac OS X 10.4 as the deployment target:
     -DCMAKE_OSX_DEPLOYMENT_TARGET=10.4 \
     -DCMAKE_OSX_ARCHITECTURES="ppc;i386;x86_64"
 
-For a 10.6 Snow Leopard take, use:
+For a 10.6 Snow Leopard static library with ASF and MP4 support, use:
   cmake -DCMAKE_BUILD_TYPE=Release \
-    -DBUILD_FRAMEWORK=ON \
     -DCMAKE_OSX_DEPLOYMENT_TARGET=10.6 \
-    -DCMAKE_OSX_ARCHITECTURES="i386;x86_64"
+    -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" \
+    -DENABLE_STATIC=ON \
+    -DWITH_ASF=ON \
+    -DWITH_MP4=ON
 
-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.
+After 'make', libtag.a will be found in the taglib folder. Add this to
+your project in XCode, add taglib to your Xcode's User Header Search Paths.
 
 Unit Tests
 ----------