Anonymous committed cae5bd9

- add typical cmake+mingw example

Comments (0)

Files changed (1)


 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:
+Given that your MinGW install is under c:\mingw and that you install all libraries using the /usr prefix