summaryrefslogtreecommitdiffhomepage
path: root/src/CMakeOptions.txt
diff options
context:
space:
mode:
authorRay <[email protected]>2018-10-31 23:19:29 +0100
committerRay <[email protected]>2018-10-31 23:19:29 +0100
commit0f6f326a868f6c970de066e71d74e81f54347085 (patch)
treec417cbdec868d903463210979d9b9c6be27046e6 /src/CMakeOptions.txt
parentf7667aad8dd03c1cdaa2033f7a37815b7dd1f9b4 (diff)
downloadraylib-0f6f326a868f6c970de066e71d74e81f54347085.tar.gz
raylib-0f6f326a868f6c970de066e71d74e81f54347085.zip
Add flag: SUPPORT_EVENTS_WAITING
Wait for input events passively (sleep) instead of polling events actively every frame
Diffstat (limited to 'src/CMakeOptions.txt')
-rw-r--r--src/CMakeOptions.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeOptions.txt b/src/CMakeOptions.txt
index eee3f1a9..ee63c5b4 100644
--- a/src/CMakeOptions.txt
+++ b/src/CMakeOptions.txt
@@ -24,6 +24,7 @@ set(OFF ${INCLUDE_EVERYTHING} CACHE INTERNAL "Replace any OFF by default with \$
# core.c
option(SUPPORT_BUSY_WAIT_LOOP "Use busy wait loop for timing sync instead of a high-resolution timer" ON)
+option(SUPPORT_EVENTS_WAITING "Wait for events passively (sleeping while no events) instead of polling them actively every frame" OFF)
option(SUPPORT_CAMERA_SYSTEM "Provide camera module (camera.h) with multiple predefined cameras: free, 1st/3rd person, orbital" ON)
option(SUPPORT_DEFAULT_FONT "Default font is loaded on window initialization to be available for the user to render simple text. If enabled, uses external module functions to load default raylib font (module: text)" ON)
option(SUPPORT_SCREEN_CAPTURE "Allow automatic screen capture of current screen pressing F12, defined in KeyCallback()" ON)