|
|
|
-------------------------------------------------------------------------------
|
|
|
|
NOTE:
|
|
|
|
|
|
|
|
* CMake scripts still under developpement. Use them only if you're prepared
|
|
|
|
to fix them. Look TODO-CMAKE.txt for pending task. Thanks for your help.
|
|
|
|
|
|
|
|
* The old make and MSVC build files are currently still around but will be
|
|
|
|
considered deprecated for 0.20.0 release. They will disappear once
|
|
|
|
the cmake build process is feature-complete, stable and documented. Or
|
|
|
|
maybe earlier to force me to get there.
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Exiv2 uses cmake, a cross-platform build system, to control the
|
|
|
|
compilation process using simple platform and compiler independent
|
|
|
|
configuration files.
|
|
|
|
|
|
|
|
Cmake resources
|
|
|
|
===============
|
|
|
|
|
|
|
|
Home: http://www.cmake.org/
|
|
|
|
Help: http://www.cmake.org/cmake/help/help.html
|
|
|
|
Doc: http://www.cmake.org/cmake/help/documentation.html
|
|
|
|
Wiki: http://www.cmake.org/Wiki/CMake
|
|
|
|
FAQ: http://www.cmake.org/Wiki/CMake_FAQ
|
|
|
|
|
|
|
|
|
|
|
|
Building and Installing
|
|
|
|
=======================
|
|
|
|
|
|
|
|
a) From the command line
|
|
|
|
|
|
|
|
Run the following commands from the top directory (containing this
|
|
|
|
file) to configure, build and install the library and utility:
|
|
|
|
|
|
|
|
$ mkdir build
|
|
|
|
$ cd build
|
|
|
|
$ cmake ..
|
|
|
|
$ make
|
|
|
|
$ make install
|
|
|
|
|
|
|
|
To modify the configuration
|
|
|
|
|
|
|
|
$ ccmake ..
|
|
|
|
|
|
|
|
|
|
|
|
Default install locations
|
|
|
|
...
|
|
|
|
|
|
|
|
To uninstall Exiv2, run:
|
|
|
|
|
|
|
|
$ make uninstall
|
|
|
|
|
|
|
|
NOTE: on UNIX-like systems, you can use "$ xargs rm < install_manifest.txt"
|
|
|
|
|
|
|
|
|
|
|
|
b) Using the cmake GUI
|
|
|
|
|
|
|
|
ccmake
|
|
|
|
|
|
|
|
|
|
|
|
Dependencies
|
|
|
|
============
|
|
|
|
|
|
|
|
cmake itself
|