multi: completely remove fx.term dependency when interactive support is disabled

This commit is contained in:
2026-05-30 21:08:39 +01:00
parent ca33228e0e
commit 338c0356ca
9 changed files with 223 additions and 119 deletions
+11 -4
View File
@@ -7,11 +7,18 @@ if (NOT DEFINED bshell_interactive)
set(bshell_interactive 1)
endif ()
if (NOT DEFINED bshell_verbose)
set(bshell_verbose 0)
endif ()
set(required_fx_assemblies fx.runtime fx.collections)
if (bshell_interactive)
set(required_fx_assemblies ${required_fx_assemblies} fx.term)
endif ()
find_package(Python COMPONENTS Interpreter REQUIRED)
find_package(FX REQUIRED COMPONENTS
fx.runtime
fx.collections
fx.term)
find_package(FX REQUIRED COMPONENTS ${required_fx_assemblies})
execute_process(
COMMAND ${Python_EXECUTABLE}