Files
rosetta/programs/CMakeLists.txt
T

52 lines
1.0 KiB
CMake
Raw Normal View History

2026-02-05 09:54:46 +00:00
file(GLOB items *)
2026-05-31 17:34:50 +01:00
set(bshell_interactive 0)
set(bshell_verbose 0)
set(bshell_enable_floating_point 0)
set(bshell_enable_native_commands 0)
2026-05-31 17:34:50 +01:00
2026-02-05 09:54:46 +00:00
foreach(item ${items})
if (NOT IS_DIRECTORY ${item})
continue()
endif ()
add_subdirectory(${item})
endforeach (item)
2026-05-31 17:34:50 +01:00
target_link_libraries(bshell libc libc-runtime libpthread)
target_link_libraries(bshell.core libc libpthread)
target_link_libraries(bshell.runtime libc libpthread)
sysroot_add_program(
NAME bshell
BIN_DIR /usr/bin)
bsp_add_program(
NAME bshell
BIN_DIR /usr/bin)
rosetta_wrap_library(
NAME bshell.runtime
SONAME libbshell.runtime
PREFIX lib
PUBLIC_INCLUDE_DIRS
${CMAKE_CURRENT_SOURCE_DIR}/bshell/bshell.runtime/include)
rosetta_wrap_library(
NAME bshell.core
PREFIX lib
SONAME libbshell.core)
sysroot_add_library(
NAME bshell.runtime
HEADER_DIR /usr/include
LIB_DIR /usr/lib)
bsp_add_library(
NAME bshell.runtime
LIB_DIR /usr/lib)
sysroot_add_library(
NAME bshell.core
LIB_DIR /usr/lib)
bsp_add_library(
NAME bshell.core
LIB_DIR /usr/lib)