]> granicus.if.org Git - libjpeg-turbo/commitdiff
Document 'make install'
authorDRC <dcommander@users.sourceforge.net>
Sat, 16 Oct 2010 22:04:29 +0000 (22:04 +0000)
committerDRC <dcommander@users.sourceforge.net>
Sat, 16 Oct 2010 22:04:29 +0000 (22:04 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@273 632fc199-4ca6-4c93-a231-07263d6284db

BUILDING.txt

index 3ccdab4d95af7a518df91cf043ff0b991439eee1..7ede3d60702c41ee84809eeede5093bbdf995b5e 100644 (file)
@@ -415,6 +415,28 @@ libjpeg v8.  See README-turbo.txt for more information on libjpeg v7 and v8b
 emulation.
 
 
+========================
+Installing libjpeg-turbo
+========================
+
+You can use the build system to install libjpeg-turbo into a directory of your
+choosing (as opposed to creating an installer.)  To do this, add:
+
+  -DCMAKE_INSTALL_PREFIX={install_directory}
+
+to the cmake command line.
+
+For example,
+
+  cmake -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=c:\libjpeg-turbo {source_directory}
+  nmake install
+
+will install the header files in c:\libjpeg-turbo\include, the library files
+in c:\libjpeg-turbo\lib, the DLL's in c:\libjpeg-turbo\bin, and the
+documentation in c:\libjpeg-turbo\doc.
+
+
 =============
 Build Recipes
 =============