summaryrefslogtreecommitdiff
path: root/trunk/BUILDING.txt
diff options
context:
space:
mode:
authordcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2010-10-16 22:04:29 +0000
committerdcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519>2010-10-16 22:04:29 +0000
commitebc876f9d4db7ca9e0a71a64a244ffdf89122bb4 (patch)
tree598e662307ce080a2a7cbb0f6789f215d5e97267 /trunk/BUILDING.txt
parent9266a9ad0bee21a753079b18225eb04205fb53fb (diff)
Document 'make install'
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@273 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'trunk/BUILDING.txt')
-rw-r--r--trunk/BUILDING.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/trunk/BUILDING.txt b/trunk/BUILDING.txt
index 3ccdab4..7ede3d6 100644
--- a/trunk/BUILDING.txt
+++ b/trunk/BUILDING.txt
@@ -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
=============