frontend: add a compiler option for disabling floating-point usage
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user