summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2011-08-22 10:42:32 +0000
committerAntonin Descampe <antonin@gmail.com>2011-08-22 10:42:32 +0000
commitc025f363f55d387cd797f5b8b2a37f97c8d8f50d (patch)
tree40f78e33dd313c29465999e75598257585536b2f /INSTALL
parent51187d06b36263d1cc4cf0ce8742e0675037bb5c (diff)
updated INSTALL files, fixed a bug in CMakeLists.txt that prevented finding the data directory
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL7
1 files changed, 5 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index 0631f3ee..3be914f4 100644
--- a/INSTALL
+++ b/INSTALL
@@ -87,10 +87,13 @@ Main available cmake flags:
* To build the JPWL executables and JPWL library: '-DBUILD_JPWL:bool=on' (default: 'OFF')
* To build the JPIP library and utilities: '-DBUILD_JPIP:bool=on' (default: 'OFF')
* To enable testing (and automatic result upload to http://my.cdash.org/index.php?project=OPENJPEG):
- cmake . -DBUILD_TESTING:BOOL=ON
+ cmake . -DBUILD_TESTING:BOOL=ON -DOPJ_DATA_ROOT:PATH='path/to/the/data/directory'
make
make Experimental
- Note : JPEG2000 test files are available with 'svn checkout http://openjpeg.googlecode.com/svn/data' (about 70 Mo)
+ Note : JPEG2000 test files are available with 'svn checkout http://openjpeg.googlecode.com/svn/data' (about 70 Mo).
+ If '-DOPJ_DATA_ROOT:PATH' option is omitted, test files will be automatically searched in '${CMAKE_SOURCE_DIR}/../data',
+ corresponding to the location of the data directory when compiling from the trunk (and assuming the data directory has
+ been checked out of course).
MACOSX
------