moved collections and string code to tlibc submodule

This commit is contained in:
2025-07-24 17:49:50 +03:00
parent cf5ed7b601
commit 72f8e196a7
35 changed files with 278 additions and 896 deletions

1
dependencies/tlibc vendored Submodule

Submodule dependencies/tlibc added at 51980ebb0b

19
dependencies/tlibc.config vendored Normal file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
###########################################################
# Copy this file to your cbuild DEPENDENCY_CONFIGS_DIR #
# and enable it (ENABLED_DEPENDENCIES=tlibc). #
###########################################################
DEP_WORKING_DIR="dependencies/tlibc"
DEP_PRE_BUILD_COMMAND=""
DEP_POST_BUILD_COMMAND=""
if [[ "$TASK" = *_dbg ]]; then
dep_build_target="build_static_lib_dbg"
else
dep_build_target="build_static_lib"
fi
DEP_BUILD_COMMAND="cbuild $dep_build_target"
DEP_CLEAN_COMMAND="cbuild clean"
DEP_DYNAMIC_OUT_FILES=""
DEP_STATIC_OUT_FILES="bin/tlibc.a"
DEP_OTHER_OUT_FILES=""
PRESERVE_OUT_DIRECTORY_STRUCTURE=false