]> git.lizzy.rs Git - irrlicht.git/blob - README.md
Update README a bit
[irrlicht.git] / README.md
1 IrrlichtMt version 1.9
2 ======================
3
4 The Irrlicht Engine is an open source realtime 3D engine written in C++.
5
6 This is a fork by the [Minetest](https://github.com/minetest) developers that was stripped-down and customized specifically for use in Minetest.
7 It is intentionally not compatible to upstream and is planned to be eventually absorbed into Minetest.
8
9 Build
10 -----
11
12 The build system is CMake.
13
14 The following libraries are required to be installed:
15 * zlib, libPNG, libJPEG
16 * OpenGL
17   * or on mobile: OpenGL ES (can be optionally enabled on desktop too)
18 * on Unix: X11
19
20 Aside from standard search options (`ZLIB_INCLUDE_DIR`, `ZLIB_LIBRARY`, ...) the following options are available:
21 * `BUILD_SHARED_LIBS` (default: `ON`) - Build IrrlichtMt as a shared library
22 * `BUILD_EXAMPLES` (default: `OFF`) - Build example applications
23
24 e.g. on a Linux system you might want to build for local use like this:
25
26         git clone https://github.com/minetest/irrlicht
27         cd irrlicht
28         cmake . -DBUILD_SHARED_LIBS=OFF
29         make -j$(nproc)
30
31 This will put an IrrlichtMtTargets.cmake file into the cmake directory in the current build directory, and it can then be imported from another project by pointing `find_package()` to the build directory, or by setting the `CMAKE_PREFIX_PATH` variable to that same path.
32
33 Platforms
34 ---------
35
36 We aim to support these platforms:
37 * Windows via MinGW
38 * Linux (GL or GLES)
39 * macOS
40 * Android
41
42 This doesn't mean other platforms don't work or won't be supported, if you find something that doesn't work contributions are welcome.
43
44 License
45 -------
46
47 The license of the Irrlicht Engine is based on the zlib/libpng license and applies to this fork, too.
48
49         The Irrlicht Engine License
50         ===========================
51
52         Copyright (C) 2002-2012 Nikolaus Gebhardt
53
54         This software is provided 'as-is', without any express or implied
55         warranty.  In no event will the authors be held liable for any damages
56         arising from the use of this software.
57
58         Permission is granted to anyone to use this software for any purpose,
59         including commercial applications, and to alter it and redistribute it
60         freely, subject to the following restrictions:
61
62         1. The origin of this software must not be misrepresented; you must not
63          claim that you wrote the original software. If you use this software
64          in a product, an acknowledgement in the product documentation would be
65          appreciated but is not required.
66         2. Altered source versions must be clearly marked as such, and must not be
67          misrepresented as being the original software.
68         3. This notice may not be removed or altered from any source distribution.