cvs: gd /libgd README.TESTING
[email protected] ("Pierre-Alain Joye")
| Newsgroups | php.gd.cvs |
|---|---|
| Message-ID | <cvspajoye1181909937@cvsserver> |
pajoye Fri Jun 15 12:18:57 2007 UTC
Modified files:
/gd/libgd README.TESTING
Log:
- add doc about building out of the src tree and CMAKE_BUILD_TYPE option
http://cvs.php.net/viewvc.cgi/gd/libgd/README.TESTING?r1=1.2&r2=1.3&diff_format=u
Index: gd/libgd/README.TESTING
diff -u gd/libgd/README.TESTING:1.2 gd/libgd/README.TESTING:1.3
--- gd/libgd/README.TESTING:1.2 Wed Jan 24 00:36:02 2007
+++ gd/libgd/README.TESTING Fri Jun 15 12:18:57 2007
@@ -3,9 +3,18 @@
To run the tests suite, 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 ..
+$ 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.
+
If you like to run the tests against a installed GD library, set the following
environment variables: