[ripple/rippled] Modernize CMake Build (#2579)

JoeLoser commented on this pull request.

> + message (FATAL_ERROR «san option only works for clang/gcc»)
+ endif ()
+ if (san STREQUAL «memory» AND NOT (is_clang AND
+ CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 7))
+ message (FATAL_ERROR «memory sanitizer only available for clang 7+»)
+ endif ()
+endif ()
+
+# the remaining options are obscure and rarely used
+option (beast_no_unit_test_inline
+ «Prevents unit test definitions from being inserted into global table»
+ OFF)
+option (beast_force_debug
+ «Force BEAST_DEBUG regardless of DEBUG settings»
+ OFF)
+# NOTE — THIS OPTION CURRENTLY DOES NOT COMPILE :

Maybe remove it and add a GitHub issue detailing to look into this?

Добавить комментарий