X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=README.cmake;h=78c29849dc924a5d1de5159c2be0d82d47801352;hb=9721970dce1ebac6b6bb3c7b0b84fdada7216270;hp=f7760876076ebbe13f6a9e10b408eb8dcc5d4a64;hpb=d5fe9defa4070c483c1d04e0af8faf7150ead4ed;p=freeglut diff --git a/README.cmake b/README.cmake index f776087..78c2984 100644 --- a/README.cmake +++ b/README.cmake @@ -31,15 +31,21 @@ and compile as usual How to build freeglut on UNIX ----------------------------- -1. Make sure you have cmake installed. Examples: - - Debian/Ubuntu: apt-get install cmake - - Fedora: yum install cmake - - FreeBSD: cd /usr/ports/devel/cmake && make install - Or directly from their website: - http://www.cmake.org/cmake/resources/software.html -2. Run cmake . in the freeglut directory to generate the makefile. -3. Run make to build, and make install to install, freeglut. -4. If you wish to change any build options run ccmake . +- Make sure you have cmake installed. Examples: + - Debian/Ubuntu: apt-get install cmake + - Fedora: yum install cmake + - FreeBSD: cd /usr/ports/devel/cmake && make install + Or directly from their website: + http://www.cmake.org/cmake/resources/software.html +- Make sure you have the basics for compiling code, such as C compiler + (e.g., GCC) and the make package. +- Also make sure you have packages installed that provide the relevant + header files for x11 (including xrandr) and opengl (e.g., + libgl1-mesa-dev, libx11-dev and libxrandr-dev on Debian/Ubuntu). +- Install XInput: libxi-dev / libXi-devel +- Run 'cmake .' in the freeglut directory to generate the makefile. +- Run 'make' to build, and 'make install' to install freeglut. +- If you wish to change any build options run 'ccmake .' Breakdown of CMake configuration options