]> granicus.if.org Git - openjpeg/commitdiff
[trunk] Continue FolderReorgProposal task. Missing java wrapping
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Fri, 28 Sep 2012 08:17:02 +0000 (08:17 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Fri, 28 Sep 2012 08:17:02 +0000 (08:17 +0000)
Update issue 177

CMakeLists.txt
src/lib/CMakeLists.txt [new file with mode: 0644]
wrapping/CMakeLists.txt [new file with mode: 0644]
wrapping/java/CMakeLists.txt [new file with mode: 0644]
wrapping/java/openjp2/CMakeLists.txt

index ecf6709842acaa35f0328ac0b7ea32d472e8a0d2..7c7267bbba0e31571b83138a2c9d126a1db45213 100644 (file)
@@ -208,6 +208,7 @@ if(BUILD_CODEC OR BUILD_MJ2)
   add_subdirectory(thirdparty)
   add_subdirectory(src/bin)
 endif ()
+add_subdirectory(wrapping)
 
 include(CheckTypeSize)
 CHECK_TYPE_SIZE(ssize_t     SSIZE_T)
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b69399a
--- /dev/null
@@ -0,0 +1,14 @@
+# source code for openjpeg project:
+# Part 1 & 2:
+add_subdirectory(openjp2)
+
+# optionals components:
+if(BUILD_JPIP)
+  add_subdirectory(openjpip)
+endif()
+if(BUILD_JPWL)
+  add_subdirectory(openjpwl)
+endif()
+if(BUILD_JP3D)
+  add_subdirectory(openjp3d)
+endif()
diff --git a/wrapping/CMakeLists.txt b/wrapping/CMakeLists.txt
new file mode 100644 (file)
index 0000000..c697d68
--- /dev/null
@@ -0,0 +1,4 @@
+# wrapping
+if(BUILD_JAVA)
+  add_subdirectory(java)
+endif()
diff --git a/wrapping/java/CMakeLists.txt b/wrapping/java/CMakeLists.txt
new file mode 100644 (file)
index 0000000..dd7b66c
--- /dev/null
@@ -0,0 +1,2 @@
+# 
+add_subdirectory(openjp2)
index 1b1c9ba16435f64d6b90b401df587cd4bcff4d2b..3641f6acab45484c35dc42bc474de7a7aeeb5b6f 100644 (file)
@@ -12,9 +12,9 @@ include_directories(${JNI_INCLUDE_DIRS})
 
 # required header file:
 include_directories(
-  ${OPENJPEG_SOURCE_DIR}/libopenjpeg
-  ${OPENJPEG_SOURCE_DIR}/applications/common
-  ${OPENJPEG_SOURCE_DIR}/applications/codec
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2
+  ${OPENJPEG_SOURCE_DIR}/src/bin/common
+  ${OPENJPEG_SOURCE_DIR}/src/bin/jp2
   )
 
 add_library(openjpegjni MODULE