2025-05-05 14:35:50 -04:00
# Build options for the project
# Usage:
# -Doption_name=value
# -Dbuild_tests=true (default) build tests
# -Duser_mode=false (default) enable user mode (set mode = 0) If user mode is enabled then the optimization level is set to 3 and the build type is set to release
# -Dbuild_python=true (default) build Python bindings
2025-02-14 14:32:05 -05:00
option ( 'build_tests' , type : 'boolean' , value : true , description : 'Build tests' )
2025-03-20 14:29:43 -04:00
option ( 'user_mode' , type : 'boolean' , value : false , description : 'Enable user mode (set mode = 0)' )
2025-04-30 11:41:10 -04:00
option ( 'build_python' , type : 'boolean' , value : true , description : 'Build Python bindings' )
option (
'config_error_handling' ,
type : 'combo' ,
choices : [ 'none' , 'warn' , 'harsh' ] ,
value : 'none' ,
description : 'What to do if a config file fails to load: silent (none), warning (warn), or error (harsh)'
)
2025-04-10 09:05:30 -04:00
option ( 'build_post_run_utils' , type : 'boolean' , value : true , description : 'Build Helper Utilities' )
option ( 'build_debug_utils' , type : 'boolean' , value : true , description : 'Build Debug Utilities' )