]> granicus.if.org Git - openjpeg/commitdiff
ENH: CMake: output all executable/libs into one single directory
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Thu, 6 Sep 2007 11:01:00 +0000 (11:01 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Thu, 6 Sep 2007 11:01:00 +0000 (11:01 +0000)
CMakeLists.txt
ChangeLog

index 9cedfe348568eef9f49edde7523a18c16a59bf75..7f2965bf3390f0ecd32afa4bdc0fcb805dbdb3a7 100644 (file)
@@ -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)
index 470c0199df0d8f6f71821853ea796bdace6939f6..1ca39b401cf2463bb0007753c5b459cc7b1b89b6 100644 (file)
--- 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.