Skip to content

Commit

Permalink
Quick update to the mingw compile instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
progranism committed Feb 27, 2011
1 parent e5fff5a commit 6d7615b
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions how_to_build_for_mingw.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,22 @@ Direct link:

Extract to Dependencies\freetype

Go into the Build folder
run:
Go into the Build folder and run:

cmake -G "MinGW Makefiles" -D CMAKE_MAKE_PROGRAM="F:\MinGW\bin\make.exe" -D FREETYPE_INCLUDE_DIRS="..\Dependencies\freetype\include;..\Dependencies\freetype\include\freetype2" -D FREETYPE_LIBRARY="..\Dependencies\freetype\lib\libfreetype.dll.a" .
cmake -G "MinGW Makefiles" -D CMAKE_MAKE_PROGRAM="C:\MinGW\bin\make.exe" -D FREETYPE_INCLUDE_DIRS="..\Dependencies\freetype\include;..\Dependencies\freetype\include\freetype2" -D FREETYPE_LIBRARY="..\Dependencies\freetype\lib\libfreetype.dll.a" .

N.B. ** REPLACE C:\MinGW\bin\make.exe with the path to your MinGW make.exe file. **


Once cmake completes successfully, run make

make


The project will compile and three libraries will be generated in the Build folder:
libRocket.dll.a
libRocketControls.dll.a
libRocketDebugger.dll.a


Done!

0 comments on commit 6d7615b

Please sign in to comment.