fixed applications/codec/CMakeLists.txt that prevented JPWL executables to be built with JPWL functionalities ; changed make all behaviour : DOC target removed from ALL
This commit is contained in:
parent
6aaaa3eae2
commit
27b894dd3f
4
CHANGES
4
CHANGES
|
@ -5,6 +5,10 @@ What's New for OpenJPEG
|
||||||
! : changed
|
! : changed
|
||||||
+ : added
|
+ : added
|
||||||
|
|
||||||
|
April 14, 2011
|
||||||
|
* [antonin] fixed applications/codec/CMakeLists.txt that prevented JPWL executables to be built with JPWL functionalities.
|
||||||
|
! [antonin] changed make all behaviour : DOC target removed from ALL.
|
||||||
|
|
||||||
April 13, 2011
|
April 13, 2011
|
||||||
! [antonin] changed the directory hierarchy of the whole project. See README files for details.
|
! [antonin] changed the directory hierarchy of the whole project. See README files for details.
|
||||||
! [antonin] moved "openjpeg3d" directory from the trunk to the branches directory.
|
! [antonin] moved "openjpeg3d" directory from the trunk to the branches directory.
|
||||||
|
|
|
@ -218,11 +218,8 @@ ADD_SUBDIRECTORY(applications)
|
||||||
OPTION(BUILD_JPWL "Build the JPWL library and executables" OFF)
|
OPTION(BUILD_JPWL "Build the JPWL library and executables" OFF)
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Build DOCUMENTATION
|
# Build DOCUMENTATION (not in ALL target and only if Doxygen is found)
|
||||||
OPTION(BUILD_DOC "Build the doxygen documentation" OFF)
|
ADD_SUBDIRECTORY(doc)
|
||||||
IF(BUILD_DOC)
|
|
||||||
ADD_SUBDIRECTORY(doc)
|
|
||||||
ENDIF(BUILD_DOC)
|
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# CDash+CMake : to be updated
|
# CDash+CMake : to be updated
|
||||||
|
|
5
INSTALL
5
INSTALL
|
@ -53,6 +53,10 @@ If you are root:
|
||||||
else:
|
else:
|
||||||
sudo make install
|
sudo make install
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
|
To build the Doxygen documentation (Doxygen needs to be found on the system):
|
||||||
|
(A 'html' directory is generated in the 'doc' directory)
|
||||||
|
make doc
|
||||||
|
|
||||||
Binaries are located in the 'bin' directory.
|
Binaries are located in the 'bin' directory.
|
||||||
|
|
||||||
|
@ -64,7 +68,6 @@ Main available cmake flags:
|
||||||
* To build the MJ2 executables: '-DBUILD_MJ2:bool=on' (default: 'OFF')
|
* To build the MJ2 executables: '-DBUILD_MJ2:bool=on' (default: 'OFF')
|
||||||
* To build the JPWL executables and JPWL library: '-DBUILD_JPWL:bool=on' (default: 'OFF')
|
* To build the JPWL executables and JPWL library: '-DBUILD_JPWL:bool=on' (default: 'OFF')
|
||||||
* [WIN32 ONLY] To build the INDEXER_JPIP executable: '-DBUILD_INDEXER_JPIP:bool=on' (default: 'OFF')
|
* [WIN32 ONLY] To build the INDEXER_JPIP executable: '-DBUILD_INDEXER_JPIP:bool=on' (default: 'OFF')
|
||||||
* To build the doxygen documentation: '-DBUILD_DOC:bool=on' (default: 'OFF')
|
|
||||||
* To enable testing (and automatic result upload to http://my.cdash.org/index.php?project=OPENJPEG):
|
* To enable testing (and automatic result upload to http://my.cdash.org/index.php?project=OPENJPEG):
|
||||||
cmake . -DBUILD_TESTING:BOOL=ON -DJPEG2000_CONFORMANCE_DATA_ROOT:PATH=/path/to/your/JPEG2000/test/files
|
cmake . -DBUILD_TESTING:BOOL=ON -DJPEG2000_CONFORMANCE_DATA_ROOT:PATH=/path/to/your/JPEG2000/test/files
|
||||||
make
|
make
|
||||||
|
|
|
@ -66,10 +66,15 @@ IF(BUILD_JPWL)
|
||||||
j2k_to_image.c
|
j2k_to_image.c
|
||||||
${common_SRCS}
|
${common_SRCS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
SET_PROPERTY(
|
||||||
|
TARGET JPWL_j2k_to_image
|
||||||
|
APPEND PROPERTY COMPILE_DEFINITIONS USE_JPWL
|
||||||
|
)
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES(JPWL_j2k_to_image ${OPENJPEG_LIBRARY_NAME}_JPWL
|
TARGET_LINK_LIBRARIES(JPWL_j2k_to_image ${OPENJPEG_LIBRARY_NAME}_JPWL
|
||||||
${LCMS_LIBNAME} ${Z_LIBNAME} ${PNG_LIBNAME} ${TIFF_LIBNAME})
|
${LCMS_LIBNAME} ${Z_LIBNAME} ${PNG_LIBNAME} ${TIFF_LIBNAME})
|
||||||
#
|
|
||||||
IF(UNIX)
|
IF(UNIX)
|
||||||
TARGET_LINK_LIBRARIES(JPWL_j2k_to_image m)
|
TARGET_LINK_LIBRARIES(JPWL_j2k_to_image m)
|
||||||
ENDIF(UNIX)
|
ENDIF(UNIX)
|
||||||
|
@ -78,10 +83,15 @@ IF(BUILD_JPWL)
|
||||||
image_to_j2k.c
|
image_to_j2k.c
|
||||||
${common_SRCS}
|
${common_SRCS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
SET_PROPERTY(
|
||||||
|
TARGET JPWL_image_to_j2k
|
||||||
|
APPEND PROPERTY COMPILE_DEFINITIONS USE_JPWL
|
||||||
|
)
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES(JPWL_image_to_j2k ${OPENJPEG_LIBRARY_NAME}_JPWL
|
TARGET_LINK_LIBRARIES(JPWL_image_to_j2k ${OPENJPEG_LIBRARY_NAME}_JPWL
|
||||||
${LCMS_LIBNAME} ${Z_LIBNAME} ${PNG_LIBNAME} ${TIFF_LIBNAME})
|
${LCMS_LIBNAME} ${Z_LIBNAME} ${PNG_LIBNAME} ${TIFF_LIBNAME})
|
||||||
#
|
|
||||||
IF(UNIX)
|
IF(UNIX)
|
||||||
TARGET_LINK_LIBRARIES(JPWL_image_to_j2k m)
|
TARGET_LINK_LIBRARIES(JPWL_image_to_j2k m)
|
||||||
ENDIF(UNIX)
|
ENDIF(UNIX)
|
||||||
|
|
|
@ -3,10 +3,7 @@ FIND_PACKAGE(Doxygen)
|
||||||
IF(DOXYGEN_EXECUTABLE)
|
IF(DOXYGEN_EXECUTABLE)
|
||||||
# The Doxyfile.dox is poorly defined and produce output
|
# The Doxyfile.dox is poorly defined and produce output
|
||||||
# in the source dir
|
# in the source dir
|
||||||
ADD_CUSTOM_TARGET(doxygen
|
ADD_CUSTOM_TARGET(doc
|
||||||
# By default doxygen target is added to the 'all' target. Project is small
|
|
||||||
# thus running doxygen is not too time consuming
|
|
||||||
ALL
|
|
||||||
${DOXYGEN}
|
${DOXYGEN}
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.dox
|
${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.dox
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
|
Loading…
Reference in New Issue