This commit is contained in:
2023-05-02 14:31:39 +06:00
parent badc820979
commit ed6e719370
15 changed files with 233 additions and 101 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/bash
try_delete_dir_or_file .rebuild_kerep.tmp
try_delete_dir_or_file .rebuild_imgui.tmp
try_delete_dir_or_file .rebuild_imgui-node-editor.tmp
for tmpfile in $(ls .rebuild_*.tmp); do
try_delete_dir_or_file "$tmpfile"
done
try_delete_dir_or_file fonts/generated
try_delete_dir_or_file libs/fonts_embedded.a

View File

@@ -26,9 +26,10 @@ if [ ! -f libs/fonts_embedded.a ]; then
fi
fi
handle_static_dependency kerep $KEREP_BUILD_TASK
handle_static_dependency imgui $KEREP_BUILD_TASK
handle_static_dependency imgui-node-editor $KEREP_BUILD_TASK
handle_static_dependency kerep $DEPS_BUILD_TASK
handle_static_dependency imgui $DEPS_BUILD_TASK
handle_static_dependency imgui-node-editor $DEPS_BUILD_TASK
handle_static_dependency imnodes $DEPS_BUILD_TASK
# copy all precompiled libs
cp libs/* $OBJDIR/libs/

View File

@@ -1,3 +0,0 @@
#!/bin/bash
touch .rebuild_imgui-node-editor.tmp
myprint "${YELLOW}imgui-node-editor.a will be rebuilt in the next build task"

View File

@@ -1,3 +0,0 @@
#!/bin/bash
touch .rebuild_imgui.tmp
myprint "${YELLOW}imgui.a will be rebuilt in the next build task"

View File

@@ -1,3 +0,0 @@
#!/bin/bash
touch .rebuild_kerep.tmp
myprint "${YELLOW}kerep.a will be rebuilt in the next build task"

5
tasks/rebuild_lib.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
source cbuild/colors.sh
source cbuild/functions.sh
touch ".rebuild_$1.tmp"
myprint "${YELLOW}$1.a will be rebuilt in the next build task"