scons: Add support for GLES.
[mesa.git] / common.py
index 76184d577a3433231885a10755ab4f0b73905e0d..cbb61629d27c8800fa4a8982798f91946fb3ecfd 100644 (file)
--- a/common.py
+++ b/common.py
@@ -90,6 +90,7 @@ def AddOptions(opts):
        opts.Add(EnumOption('platform', 'target platform', host_platform,
                                                                                         allowed_values=('linux', 'cell', 'windows', 'winddk', 'wince', 'darwin', 'embedded', 'cygwin', 'sunos5', 'freebsd8')))
        opts.Add('toolchain', 'compiler toolchain', default_toolchain)
+       opts.Add(BoolOption('gles', 'EXPERIMENTAL: enable OpenGL ES support', 'no'))
        opts.Add(BoolOption('llvm', 'use LLVM', default_llvm))
        opts.Add(BoolOption('debug', 'DEPRECATED: debug build', 'yes'))
        opts.Add(BoolOption('profile', 'DEPRECATED: profile build', 'no'))