Commit a672a311 authored by Arnaud Blanchard's avatar Arnaud Blanchard

Manage error while generating project

parent e90ffb34
......@@ -26,6 +26,13 @@ mkdir -p "$build_dir"
cd "$build_dir" && cmake -G"$generator" "$current_dir/$1" -DCMAKE_BUILD_TYPE="Debug" -DLIBRARY_OUTPUT_PATH=${blaar_build_dir}/Debug/lib -DBLAAR_DIR="$current_dir" -DCMAKE_LIBRARY_PATH="${blaar_build_dir}/Debug/lib" -DEXECUTABLE_OUTPUT_PATH=${blaar_build_dir}/Debug/bin
ERROR=$?
if [ ! $ERROR ]; then
echo
echo "Project created in $build_dir"
echo
fi
exit $ERROR
......@@ -23,8 +23,7 @@ echo "Usage : xcode_project project_directory"
exit 1
fi
developer_tools/create_project.sh $1 $build_dir eclipse
developer_tools/create_project.sh $1 $build_dir eclipse && echo "eclipse -> file -> import -> general -> existing project -> root directory -> browse\n -> $build_dir/eclipse/$1"
echo "eclipse -> file -> import -> general -> existing project -> root directory -> browse -> $build_dir/eclipse/$1"
echo
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment