diff --git a/meson_options.txt b/meson_options.txt index 6e9ed8a4..70e6f010 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,19 +1,19 @@ -option('max_test_cases' ,type: 'integer' ,value: 5000, description : 'Maximum number of test cases in a test application.') -option('max_nested_sections' ,type: 'integer' ,value: 8 , description : 'Maximum depth of nested sections in a test case.') -option('max_expr_length' ,type: 'integer' ,value: 1024, description : 'Maximum length of a printed expression when reporting failure.') -option('max_message_length' ,type: 'integer' ,value: 1024, description : 'Maximum length of error or status messages.') -option('max_test_name_length' ,type: 'integer' ,value: 1024, description : 'Maximum length of a test case name.') -option('max_tag_length' ,type: 'integer' ,value: 256 , description : 'Maximum length of a test tag.') -option('max_captures' ,type: 'integer' ,value: 8 , description : 'Maximum number of captured expressions in a test case.') -option('max_capture_length' ,type: 'integer' ,value: 256 , description : 'Maximum length of a captured expression.') -option('max_unique_tags' ,type: 'integer' ,value: 1024, description : 'Maximum number of unique tags in a test application.') -option('max_command_line_args' ,type: 'integer' ,value: 1024, description : 'Maximum number of command line arguments to a test application.') +option('max_test_cases' ,type: 'integer' ,value: 5000, description : 'Maximum number of test cases in a test application.') +option('max_nested_sections' ,type: 'integer' ,value: 8 , description : 'Maximum depth of nested sections in a test case.') +option('max_expr_length' ,type: 'integer' ,value: 1024, description : 'Maximum length of a printed expression when reporting failure.') +option('max_message_length' ,type: 'integer' ,value: 1024, description : 'Maximum length of error or status messages.') +option('max_test_name_length' ,type: 'integer' ,value: 1024, description : 'Maximum length of a test case name.') +option('max_tag_length' ,type: 'integer' ,value: 256 , description : 'Maximum length of a test tag.') +option('max_captures' ,type: 'integer' ,value: 8 , description : 'Maximum number of captured expressions in a test case.') +option('max_capture_length' ,type: 'integer' ,value: 256 , description : 'Maximum length of a captured expression.') +option('max_unique_tags' ,type: 'integer' ,value: 1024, description : 'Maximum number of unique tags in a test application.') +option('max_command_line_args' ,type: 'integer' ,value: 1024, description : 'Maximum number of command line arguments to a test application.') -option('define_main' ,type: 'boolean' ,value: true, description : 'Define main() in snitch -- disable to provide your own main() function.') -option('with_exceptions' ,type: 'boolean' ,value: true, description : 'Use exceptions in snitch implementation -- will be forced OFF if exceptions are not available.') -option('with_timings' ,type: 'boolean' ,value: true, description : 'Measure the time taken by each test case -- disable to speed up tests.') -option('with_shorthand_macros' ,type: 'boolean' ,value: true, description : 'Use short names for test macros -- disable if this causes conflicts.') -option('constexpr_float_use_bicast' ,type: 'boolean', value: true, description : 'Use std::bit_cast if available to implement exact constexpr float-to-string conversion.') -option('default_with_color' ,type: 'boolean' ,value: true, description : 'Enable terminal colors by default -- can also be controlled by command line interface.') -option('create_header_only' ,type: 'boolean' ,value: true, description : 'Create a single-header header-only version of snitch.') -option('create_library' ,type: 'boolean' ,value: true, description : 'Build a compiled library version of snitch.') +option('define_main' ,type: 'boolean' ,value: true, description : 'Define main() in snitch -- disable to provide your own main() function.') +option('with_exceptions' ,type: 'boolean' ,value: true, description : 'Use exceptions in snitch implementation -- will be forced OFF if exceptions are not available.') +option('with_timings' ,type: 'boolean' ,value: true, description : 'Measure the time taken by each test case -- disable to speed up tests.') +option('with_shorthand_macros' ,type: 'boolean' ,value: true, description : 'Use short names for test macros -- disable if this causes conflicts.') +option('constexpr_float_use_bitcast' ,type: 'boolean', value: true, description : 'Use std::bit_cast if available to implement exact constexpr float-to-string conversion.') +option('default_with_color' ,type: 'boolean' ,value: true, description : 'Enable terminal colors by default -- can also be controlled by command line interface.') +option('create_header_only' ,type: 'boolean' ,value: true, description : 'Create a single-header header-only version of snitch.') +option('create_library' ,type: 'boolean' ,value: true, description : 'Build a compiled library version of snitch.') diff --git a/snitch/meson.build b/snitch/meson.build index e4bad3d4..e7dee6fb 100644 --- a/snitch/meson.build +++ b/snitch/meson.build @@ -27,7 +27,7 @@ conf_data = configuration_data({ 'SNITCH_WITH_EXCEPTIONS' : get_option('with_exceptions').to_int(), 'SNITCH_WITH_TIMINGS' : get_option('with_timings').to_int(), 'SNITCH_WITH_SHORTHAND_MACROS' : get_option('with_shorthand_macros').to_int(), - 'SNITCH_CONSTEXPR_FLOAT_USE_BITCAST' : get_option('constexpr_float_use_bicast').to_int(), + 'SNITCH_CONSTEXPR_FLOAT_USE_BITCAST' : get_option('constexpr_float_use_bitcast').to_int(), 'SNITCH_DEFAULT_WITH_COLOR' : get_option('default_with_color').to_int(), 'SNITCH_CREATE_HEADER_ONLY' : get_option('create_header_only').to_int(), 'SNITCH_CREATE_LIBRARY' : get_option('create_library').to_int(),