From da2777717c9c836953d9fb3e3350a45fc143d783 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sun, 31 May 2026 17:32:26 +0100 Subject: [PATCH] frontend: add a compiler option for disabling floating-point usage --- bshell/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bshell/CMakeLists.txt b/bshell/CMakeLists.txt index 4e38e97..a0b69ff 100644 --- a/bshell/CMakeLists.txt +++ b/bshell/CMakeLists.txt @@ -29,7 +29,9 @@ target_link_libraries(bshell if (bshell_interactive) target_link_libraries(bshell FX::Term) endif () + target_compile_definitions(bshell PUBLIC BSHELL_VERSION="${bshell_version}" + BSHELL_ENABLE_FLOATING_POINT=${bshell_enable_floating_point} BSHELL_INTERACTIVE=${bshell_interactive} BSHELL_VERBOSE=${bshell_verbose})