cvs: gd /libgd/docs README.CMAKE

[email protected] ("Pierre-Alain Joye") Sat, 19 Apr 2008 10:10:35 -0000
Newsgroups php.gd.cvs
Message-ID <cvspajoye1208599835@cvsserver>
pajoye		Sat Apr 19 10:10:35 2008 UTC

  Modified files:              
    /gd/libgd/docs	README.CMAKE 
  Log:
  - add typical cmake+mingw example
  
http://cvs.php.net/viewvc.cgi/gd/libgd/docs/README.CMAKE?r1=1.3&r2=1.4&diff_format=u
Index: gd/libgd/docs/README.CMAKE
diff -u gd/libgd/docs/README.CMAKE:1.3 gd/libgd/docs/README.CMAKE:1.4
--- gd/libgd/docs/README.CMAKE:1.3	Mon Jan 14 22:21:38 2008
+++ gd/libgd/docs/README.CMAKE	Sat Apr 19 10:10:35 2008
@@ -1,5 +1,5 @@
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-$Id: README.CMAKE,v 1.3 2008/01/14 22:21:38 pajoye Exp $
+$Id: README.CMAKE,v 1.4 2008/04/19 10:10:35 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) :
 
@@ -31,3 +31,9 @@
 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
+
+A typical CMake call to build using the MinGW tools:
+
+cmake -G"MinGW Makefiles" -DCMAKE_LIBRARY_PATH=c:\mingw\lib -DCMAKE_INCLUDE_PATH=c:\MinGW\include -DENABLE_JPEG=On -DBUILD_TEST=On -DCMAKE_RELEASE_TYPE=DEBUG ..\libgd_head
+
+Given that your MinGW install is under c:\mingw and that you install all libraries using the /usr prefix