Antonin Descampe
19f9147e10
Removed the libs directory containing win32 compiled versions of libpng, libtiff and liblcms. Added a thirdparty directory to include main source files of libtiff, libpng, libz and liblcms to enable support of these formats in the codec executables. CMake will try to statically build these libraries if they are not found on the system. Note that these third party libraries are not required to build libopenjpeg (which has no dependencies).
2011-03-20 22:45:24 +00:00
Antonin Descampe
50b3b5c991
removed badly written tests from CTest in codec/CMakeLists.txt
2011-01-03 22:44:59 +00:00
Antonin Descampe
73a6ed7c21
bug fixes to enable cmake compilation on WIN32 platform (see CHANGES for details)
2011-01-02 18:10:09 +00:00
Antonin Descampe
d08a96e251
(thanks to Winfried for his help)
...
* [antonin] changed remaining "WIN32" to "_WIN32"
! [antonin] libopenjpeg has no more dependency on LCMS lib. Everything concerning color (icc profile, conversion to rgb, etc) has been put outside libopenjpeg and is used in j2k_to_image.c and mj2_to_frames.c.
- [antonin] removed "opj_convert{.c,.h}"
+ [antonin] added a directory "common/" that contains "getopt{.c,.h}" (previously in "codec/compat").
+ [antonin] added files "color{.c,.h}" in "common/" that define the code for icc profile management and sycc_to_rgb conversion
+ [antonin] added "common/format_defs.h" that contains common definitions used in image_to_j2k, j2k_to_image, j2k_dump.
2010-12-08 11:06:41 +00:00
Antonin Descampe
59d9b97ffe
revert to previous behaviour for cmake: builds (and links) dynamically by default. Static build only if -DBUILD_SHARED_LIBS is set to OFF.
2010-12-05 15:19:57 +00:00
Antonin Descampe
eb5694ca2a
changed cmake behaviour: executables are now always statically linked. When -DBUIL_SHARED_LIBS option is ON (the default), the shared versions of the libraries are also built (but executables remain linked against the static libraries).
2010-11-28 17:07:04 +00:00
Antonin Descampe
3afd3b1afd
install man pages by default. install CHANGES and LICENSE
2010-11-17 10:59:21 +00:00
Antonin Descampe
eeefefd56c
Added files to let people build openjpeg with configure tools ; Added makefiles to let people manually build openjpeg on *nix platforms ; Removed obsolete Makefiles ; Renamed dirent.h to windirent.h ; Made optional the PNG, TIFF, and LCMS support in CMake files ; Added opj_config* files to configure openjpeg before building it (opj_config.h generated by configure, cmake, or manually by the user) ; Renamed this file from ChangeLog to CHANGES ; Renamed License.txt to LICENSE ; Updated README files ; Added INSTALL and LICENSE files ; Added man pages
2010-10-05 10:33:15 +00:00
Luis Ibanez
531c0cf26f
Reverting the use of #include "openjpegConfigure.h" until we find a compatible
...
way of doing this with autoconf, and with the default VS project files.
2010-09-08 22:40:11 +00:00
Luis Ibanez
509f7a64ea
ENH: The logic for defining OPJ_STATIC has now been moved to the
...
openjpegConfigure.h file.
2010-09-05 21:37:14 +00:00
Luis Ibanez
d22912349b
ENH: Grouping the logic that detects getopt.c into a single .cmake file.
...
Multiple directories were repeating this configuration independently.
The directory jp3d is expected to be self-suficient so it still does
the configuration directly.
2010-09-05 20:15:05 +00:00
Mathieu Malaterre
f6ed93253b
Need to include png/tiff include path
2010-07-01 17:33:51 +00:00
Mathieu Malaterre
89eafad589
Synchronize branch and trunk cmakelists files
2010-06-29 19:08:58 +00:00
Mathieu Malaterre
2374885ac0
adding j2k_dump executable
2010-06-21 13:21:11 +00:00
Mathieu Malaterre
a1b6f1e096
Reactivate ctest
2010-05-26 09:45:12 +00:00
Francois-Olivier Devaux
efa5f7977c
Created the file index.c in the codec directory. This file handles the creation of index files, at encoding and decoding.
...
Fixed bugs during the creation of the index (PCRL progression order)
2007-11-27 12:38:52 +00:00
Mathieu Malaterre
3392d99487
BUG: cannot run tests if EXAMPLES are not built
2007-09-07 13:49:57 +00:00
Mathieu Malaterre
b29cff9b9c
ENH: Add cmake code to do testing if user has properly setup a testimages directory
2007-09-07 13:21:17 +00:00
Mathieu Malaterre
53471a76f1
ENH: Fix unitialized read in img_fol (we may need a smarter initialize than memset)
2007-09-06 16:49:15 +00:00
Mathieu Malaterre
8ac5e7023c
ENH: Add very simple tests (simply run command line with no option)
2007-09-06 16:38:06 +00:00
Mathieu Malaterre
976ca18103
ENH: Add jpwl. Also remove old deprecated way of linking lib math on unix
2007-09-06 10:23:40 +00:00
Mathieu Malaterre
219dd65bef
COMP: Fix compilation of executable linking to TIFF lib.
2007-03-01 14:39:31 +00:00
Mathieu Malaterre
9aa9170110
ENH: Update CMake to do proper installation. Still using the 2.2 installation approach for now.
2006-07-22 03:47:02 +00:00
Mathieu Malaterre
23eeec8769
ENH: Do the proper thing for static/shared
2006-02-05 21:39:19 +00:00
Mathieu Malaterre
61e353d652
STYLE: Add a lot of comments for the CMake build system
2006-01-25 16:32:48 +00:00
Antonin Descampe
e6aae96217
added cmake files to the project
2006-01-25 09:23:17 +00:00