From f3456a27e7a58c9800f100f0fa67929fbbd164d3 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Thu, 6 Sep 2007 14:56:00 +0000 Subject: [PATCH] ENH: add Java j2kviewer but do not compile it using cmake since cmake has too poor support for Java. Should create a custom command running ant instead. --- CMakeLists.txt | 2 ++ j2kviewer/src/CMakeLists.txt | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 j2kviewer/src/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 630c0f45..efa6475c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,6 +63,8 @@ SUBDIRS( jpwl jp3d indexer_JPIP + # cmake 2.4.5 has poor java support + #j2kviewer/src ) #----------------------------------------------------------------------------- # Build example only if requested diff --git a/j2kviewer/src/CMakeLists.txt b/j2kviewer/src/CMakeLists.txt new file mode 100644 index 00000000..e44cc067 --- /dev/null +++ b/j2kviewer/src/CMakeLists.txt @@ -0,0 +1,8 @@ +PROJECT(j2kviewer Java) + +ADD_LIBRARY(j2kviewer + Exec.java + ImageViewer.java + MML.java + PgmImage.java +)