From: sfan5 Date: Thu, 6 Apr 2023 09:35:30 +0000 (+0200) Subject: Document new CMake options X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=f5d3448b171be983280fc67ce911bfbf0bd42ff0;p=irrlicht.git Document new CMake options --- 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: