cvs: gd /libgd/docs README.CMAKE

From: Date: Mon, 14 Jan 2008 22:21:40 +0000
Subject: cvs: gd /libgd/docs README.CMAKE
Groups: php.gd.cvs 
Request: Send a blank email to php-gd-cvs+get-412@lists.php.net to get a copy of this message
pajoye Mon Jan 14 22:21:40 2008 UTC Modified files: /gd/libgd/docs README.CMAKE Log: - add an example cmake call http://cvs.php.net/viewvc.cgi/gd/libgd/docs/README.CMAKE?r1=1.2&r2=1.3&diff_format=u Index: gd/libgd/docs/README.CMAKE diff -u gd/libgd/docs/README.CMAKE:1.2 gd/libgd/docs/README.CMAKE:1.3 --- gd/libgd/docs/README.CMAKE:1.2 Mon Jan 14 13:39:24 2008 +++ gd/libgd/docs/README.CMAKE Mon Jan 14 22:21:38 2008 @@ -1,5 +1,5 @@ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| -$Id: README.CMAKE,v 1.2 2008/01/14 13:39:24 pajoye Exp $ +$Id: README.CMAKE,v 1.3 2008/01/14 22:21:38 pajoye Exp $ 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) : @@ -26,3 +26,8 @@ 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

« previous php.gd.cvs (#412) next »