cvs: gd /libgd/docs README.CMAKE
| From: | Pierre-Alain Joye | Date: | Sun, 13 Jan 2008 21:26:44 +0000 |
| Subject: | cvs: gd /libgd/docs README.CMAKE | ||
| Groups: | php.gd.cvs | ||
| Request: | Send a blank email to php-gd-cvs+get-410@lists.php.net to get a copy of this message | ||
pajoye Sun Jan 13 21:26:44 2008 UTC
Added files:
/gd/libgd/docs README.CMAKE
Log:
- add a basic documentation about using cmake and its GD options
http://cvs.php.net/viewvc.cgi/gd/libgd/docs/README.CMAKE?view=markup&rev=1.1
Index: gd/libgd/docs/README.CMAKE
+++ gd/libgd/docs/README.CMAKE
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tobuild GD using CMake, all you need is (add the cmake options if you need any
or if the default libs and include paths are not the default) :
In a sub directory:
$ mkdir bld
$ cd bld
$ cmake -DBUILD_TEST=1 <options>
The available options are:
ENABLE_PNG=1
ENABLE_JPEG=1
ENABLE_TIFF=1
ENABLE_FREETYPE=1
ENABLE_FONTCONFIG=1
ENABLE_XPM=1
You can optionnally run our tests suite using:
$ ctest .
Or if you like to build in the source tree:
$ cmake -DBUILD_TEST=1 .
$ ctest .
Add "-DCMAKE_BUILD_TYPE=DEBUG" if you like to have a debug version.