summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorpajoye <none@none>2008-01-14 22:21:38 +0000
committerpajoye <none@none>2008-01-14 22:21:38 +0000
commit803e160b53b5e904d67b7964849b4d43fdc0700c (patch)
treeb07ae99408266478aa11f859afd904971f6ec5cf /docs
parent996b3c50b1c20bbbb374803b030d83ee20c27683 (diff)
downloadlibgd-803e160b53b5e904d67b7964849b4d43fdc0700c.tar.gz
- add an example cmake call
Diffstat (limited to 'docs')
-rw-r--r--docs/README.CMAKE5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/README.CMAKE b/docs/README.CMAKE
index 2d1b72e..ae99628 100644
--- a/docs/README.CMAKE
+++ b/docs/README.CMAKE
@@ -26,3 +26,8 @@ $ ctest .
Add "-DCMAKE_BUILD_TYPE=DEBUG" if you like to have a debug version.
+Typical usage with only PNG enabled:
+
+This command generates VS7 project files and add some custom libraries and includes directories (libpng in this case):
+
+cmake -DCMAKE_GENERATOR="Visual Studio 7 .NET 2003" -DENABLE_PNG=1 -DCMAKE_LIBRARY_PATH=c:\gd_build\gd_deps\lib -DCMAKE_INCLUDE_PATH=c:\gd_build\gd_deps\include c:\libgd_src