diff options
author | pajoye <none@none> | 2008-04-19 10:10:35 +0000 |
---|---|---|
committer | pajoye <none@none> | 2008-04-19 10:10:35 +0000 |
commit | cae5bd9c2c30a114abc56b8e68664707b6bebe86 (patch) | |
tree | 9631e40d6849603a4d00fd86f1a85a51f030e53d /docs | |
parent | 953a7d0bab9c98a44203a14c7be8cd9e5af2e323 (diff) | |
download | libgd-cae5bd9c2c30a114abc56b8e68664707b6bebe86.tar.gz |
- add typical cmake+mingw example
Diffstat (limited to 'docs')
-rw-r--r-- | docs/README.CMAKE | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/README.CMAKE b/docs/README.CMAKE index ae99628..baf583c 100644 --- a/docs/README.CMAKE +++ b/docs/README.CMAKE @@ -31,3 +31,9 @@ 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 + +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 |