3 #-----------------------------------------------------------------------------
4 # OPENJPEG version number, usefull for packaging and doxygen doc:
5 SET(OPENJPEG_MAJOR_VERSION 1)
6 SET(OPENJPEG_MINOR_VERSION 0)
7 SET(OPENJPEG_BUILD_VERSION 0)
9 "${OPENJPEG_MAJOR_VERSION}.${OPENJPEG_MINOR_VERSION}.${OPENJPEG_BUILD_VERSION}")
11 #-----------------------------------------------------------------------------
12 # OpenJPEG build configuration options.
13 OPTION(BUILD_SHARED_LIBS "Build OpenJPEG with shared libraries." OFF)
15 #-----------------------------------------------------------------------------
17 OPTION(BUILD_EXAMPLES "Build the Examples (codec...)." OFF)
19 #-----------------------------------------------------------------------------
20 # Always build the library
24 #-----------------------------------------------------------------------------
25 # Build example only if requested
30 #-----------------------------------------------------------------------------
31 # For openjpeg team if they ever want Dart+CMake
34 MARK_AS_ADVANCED(BUILD_TESTING DART_ROOT TCL_TCLSH)
40 # TODO, technically we should add tests, e.g:
41 # http://www.crc.ricoh.com/~gormish/jpeg2000conformance/