frontend: add a compiler option for disabling floating-point usage

This commit is contained in:
2026-05-31 17:32:26 +01:00
parent 290caf7aef
commit da2777717c
+2
View File
@@ -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})