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)
|
if (bshell_interactive)
|
||||||
target_link_libraries(bshell FX::Term)
|
target_link_libraries(bshell FX::Term)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
target_compile_definitions(bshell PUBLIC
|
target_compile_definitions(bshell PUBLIC
|
||||||
BSHELL_VERSION="${bshell_version}"
|
BSHELL_VERSION="${bshell_version}"
|
||||||
|
BSHELL_ENABLE_FLOATING_POINT=${bshell_enable_floating_point}
|
||||||
BSHELL_INTERACTIVE=${bshell_interactive}
|
BSHELL_INTERACTIVE=${bshell_interactive}
|
||||||
BSHELL_VERBOSE=${bshell_verbose})
|
BSHELL_VERBOSE=${bshell_verbose})
|
||||||
|
|||||||
Reference in New Issue
Block a user