Precision about Unix installation (XInput)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1324 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
beuc 2012-05-29 18:32:51 +00:00
parent c8f74743db
commit 5f34ac1c5a

View File

@ -31,15 +31,16 @@ and compile as usual
How to build freeglut on UNIX How to build freeglut on UNIX
----------------------------- -----------------------------
1. Make sure you have cmake installed. Examples: - Make sure you have cmake installed. Examples:
- Debian/Ubuntu: apt-get install cmake - Debian/Ubuntu: apt-get install cmake
- Fedora: yum install cmake - Fedora: yum install cmake
- FreeBSD: cd /usr/ports/devel/cmake && make install - FreeBSD: cd /usr/ports/devel/cmake && make install
Or directly from their website: Or directly from their website:
http://www.cmake.org/cmake/resources/software.html http://www.cmake.org/cmake/resources/software.html
2. Run cmake . in the freeglut directory to generate the makefile. - Install XInput: libxi-dev / libXi-devel
3. Run make to build, and make install to install, freeglut. - Run 'cmake .' in the freeglut directory to generate the makefile.
4. If you wish to change any build options run ccmake . - 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 Breakdown of CMake configuration options