Build specific example using -DBUILD_EXAMPLE cmake flag (#3921)

This commit is contained in:
Benji
2024-04-17 13:26:18 -04:00
committed by GitHub
parent 112ce672e1
commit c1fd98591d
3 changed files with 22 additions and 4 deletions

View File

@ -8,6 +8,7 @@ enum_option(OPENGL_VERSION "OFF;4.3;3.3;2.1;1.1;ES 2.0;ES 3.0" "Force a specific
# Configuration options
option(BUILD_EXAMPLES "Build the examples." ${RAYLIB_IS_MAIN})
option(BUILD_EXAMPLE "Build a specific example by filename." "")
option(CUSTOMIZE_BUILD "Show options for customizing your Raylib library build." OFF)
option(ENABLE_ASAN "Enable AddressSanitizer (ASAN) for debugging (degrades performance)" OFF)
option(ENABLE_UBSAN "Enable UndefinedBehaviorSanitizer (UBSan) for debugging" OFF)