From 86da5c258945dcf27056a582487e7b1b8dfbeda7 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Thu, 6 Sep 2007 11:01:00 +0000 Subject: [PATCH] ENH: CMake: output all executable/libs into one single directory --- CMakeLists.txt | 6 ++++++ ChangeLog | 1 + 2 files changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9cedfe34..7f2965bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,6 +34,12 @@ SET(OPENJPEG_VERSION # OpenJPEG build configuration options. OPTION(BUILD_SHARED_LIBS "Build OpenJPEG with shared libraries." OFF) +#----------------------------------------------------------------------------- +SET (EXECUTABLE_OUTPUT_PATH ${OPENJPEG_BINARY_DIR}/bin CACHE PATH "Single output directory for building all executables.") +SET (LIBRARY_OUTPUT_PATH ${OPENJPEG_BINARY_DIR}/bin CACHE PATH "Single output directory for building all libraries.") +MARK_AS_ADVANCED(LIBRARY_OUTPUT_PATH EXECUTABLE_OUTPUT_PATH) + + #----------------------------------------------------------------------------- # For the codec... OPTION(BUILD_EXAMPLES "Build the Examples (codec...)." OFF) diff --git a/ChangeLog b/ChangeLog index 470c0199..1ca39b40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ What's New for OpenJPEG September 6, 2007 * [Mathieu Malaterre] CMake: start compiling mj2, jpwl and jp3d +* [Mathieu Malaterre] CMake: output all executable/libs into one single directory September 4, 2007 + [GB] Added some fields in the codestream_info structure: they are used to record the position of single tile parts. Changed also the write_index function in the codec, to reflect the presence of this new information.