diff --git a/tim.config b/tim.config new file mode 100755 index 0000000..a19d45d --- /dev/null +++ b/tim.config @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +# This is a dependency config. +# You can copy it to another cbuild project to add this lib as dependency. + +DEP_WORKING_DIR="$DEPENDENCIES_DIR/tim" +if [[ "$TASK" = *_dbg ]]; then + dep_build_target="build_static_lib_dbg" +else + dep_build_target="build_static_lib" +fi +DEP_PRE_BUILD_COMMAND="" +DEP_BUILD_COMMAND="cbuild $dep_build_target" +DEP_POST_BUILD_COMMAND="" +DEP_CLEAN_COMMAND="cbuild clean" +DEP_DYNAMIC_OUT_FILES="" +DEP_STATIC_OUT_FILES="bin/tim.a" +DEP_OTHER_OUT_FILES="" +PRESERVE_OUT_DIRECTORY_STRUCTURE=false