Add echos for what is doing
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
parent
7384d4ec10
commit
0bed67b74e
@ -58,6 +58,7 @@ function clean() {
|
|||||||
# Build by passing the platform as a variable
|
# Build by passing the platform as a variable
|
||||||
function build() {
|
function build() {
|
||||||
cd "$_build_folder" || clean_exit 1 "$_error_build_folder"
|
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_release
|
||||||
scons "platform=$1" target=template_debug
|
scons "platform=$1" target=template_debug
|
||||||
cd ..
|
cd ..
|
||||||
@ -74,7 +75,7 @@ function build() {
|
|||||||
# Analize build process to create compile_commands.json
|
# Analize build process to create compile_commands.json
|
||||||
function build_db() {
|
function build_db() {
|
||||||
cd "$_build_folder" || clean_exit 1 "$_error_build_folder"
|
cd "$_build_folder" || clean_exit 1 "$_error_build_folder"
|
||||||
|
echo -e "\nCompiling c++ db...\n"
|
||||||
if [ ! -f "../${_bin_folder}/compile_commands.json" ]; then
|
if [ ! -f "../${_bin_folder}/compile_commands.json" ]; then
|
||||||
clean "$_default_platform"
|
clean "$_default_platform"
|
||||||
bear --output "../${_bin_folder}/compile_commands.json" -- scons platform="$_default_platform"
|
bear --output "../${_bin_folder}/compile_commands.json" -- scons platform="$_default_platform"
|
||||||
|
Loading…
Reference in New Issue
Block a user