[Tarantool-patches] [PATCH v2 03/10] cmake: add option ENABLE_UB_SANITIZER
Sergey Bronnikov
sergeyb at tarantool.org
Fri May 29 11:53:24 MSK 2020
Vlad,
thanks for the patch!
On 01:32 Thu 28 May , Vladislav Shpilevoy wrote:
<snipped>
> diff --git a/cmake/compiler.cmake b/cmake/compiler.cmake
> index ce3e7e506..373bcd3b0 100644
> --- a/cmake/compiler.cmake
> +++ b/cmake/compiler.cmake
> @@ -238,6 +238,8 @@ endif()
>
> option(ENABLE_WERROR "Make all compiler warnings into errors" OFF)
>
> +option(ENABLE_UB_SANITIZER "Make the compiler generate runtime code to perform undefined behaviour checks" OFF)
It would be useful to add ENABLE_UB_SANITIZER option to a list "options"
in a root CMakeLists.txt. cmake shows options from this list and it's
status at the end of output.
<snipped>
More information about the Tarantool-patches
mailing list