Add echos for what is doing

Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
Somebody Master 2023-04-02 15:18:37 +02:00
parent 7384d4ec10
commit 0bed67b74e
Signed by: somebody_master
GPG Key ID: 78315CFDF0B25505

View File

@ -58,6 +58,7 @@ function clean() {
# Build by passing the platform as a variable
function build() {
cd "$_build_folder" || clean_exit 1 "$_error_build_folder"
echo -e "\nCompiling for $1...\n"
scons "platform=$1" target=template_release
scons "platform=$1" target=template_debug
cd ..
@ -74,7 +75,7 @@ function build() {
# Analize build process to create compile_commands.json
function build_db() {
cd "$_build_folder" || clean_exit 1 "$_error_build_folder"
echo -e "\nCompiling c++ db...\n"
if [ ! -f "../${_bin_folder}/compile_commands.json" ]; then
clean "$_default_platform"
bear --output "../${_bin_folder}/compile_commands.json" -- scons platform="$_default_platform"