aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2023-04-06 11:35:30 +0200
committersfan5 <sfan5@live.de>2023-04-06 11:35:30 +0200
commitf5d3448b171be983280fc67ce911bfbf0bd42ff0 (patch)
treebe805f838e5004fba3f25427f7ebb81985560c83
parent3a074e4124fa483fb3188b57d89e199f6d04b568 (diff)
downloadirrlicht-f5d3448b171be983280fc67ce911bfbf0bd42ff0.tar.xz
Document new CMake options
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0d17e19..a0c496c 100644
--- a/README.md
+++ b/README.md
@@ -20,6 +20,11 @@ The following libraries are required to be installed:
Aside from standard search options (`ZLIB_INCLUDE_DIR`, `ZLIB_LIBRARY`, ...) the following options are available:
* `BUILD_SHARED_LIBS` (default: `ON`) - Build IrrlichtMt as a shared library
* `BUILD_EXAMPLES` (default: `OFF`) - Build example applications
+* `ENABLE_OPENGL` - Enable OpenGL driver
+* `ENABLE_OPENGL3` (default: `OFF`) - Enable OpenGL 3+ driver
+* `ENABLE_GLES1` - Enable OpenGL ES driver, legacy
+* `ENABLE_GLES2` - Enable OpenGL ES 2+ driver
+* `USE_SDL2` (default: `OFF`) - Use SDL2 instead of native platform device
e.g. on a Linux system you might want to build for local use like this: