summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorpajoye <none@none>2008-01-13 21:26:44 +0000
committerpajoye <none@none>2008-01-13 21:26:44 +0000
commit42e4ba19d83a448af9db2e31c8c884eeb3e06b97 (patch)
treeb7f7c8809991e0f10f08bf3ed8abd4194f4bd8d1 /docs
parent109b14f695da99ed07d5c319ed2763989551116b (diff)
downloadlibgd-42e4ba19d83a448af9db2e31c8c884eeb3e06b97.tar.gz
- add a basic documentation about using cmake and its GD options
Diffstat (limited to 'docs')
-rw-r--r--docs/README.CMAKE28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/README.CMAKE b/docs/README.CMAKE
new file mode 100644
index 0000000..8ebf19d
--- /dev/null
+++ b/docs/README.CMAKE
@@ -0,0 +1,28 @@
+|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+
+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.
+
+