Fixed build script and added help message.
This commit is contained in:
parent
e1e4878d55
commit
6192a8f819
14
action.bash
14
action.bash
|
@ -43,7 +43,7 @@ function get_include_path_configuration {
|
|||
|
||||
for LINE in $(cat $INCLUDE_CONFIG_PATH)
|
||||
do
|
||||
INCLUDE_STATEMENTS="$INCLUDE_STATEMENTS -I \"$REPOSITORY_FOLDER/$LINE\""
|
||||
INCLUDE_STATEMENTS="$INCLUDE_STATEMENTS -I $REPOSITORY_FOLDER/$LINE"
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -127,7 +127,17 @@ case $1 in
|
|||
"b" | "build-dependencies")
|
||||
build_dependencies
|
||||
;;
|
||||
"h" | "help")
|
||||
echo "Known Actions:"
|
||||
echo "[ d | dbg | debug ]: Build in the debug profile; build with debug symbols."
|
||||
echo "[ r | release ]: Build for a release, with speed optimizations."
|
||||
echo "[ c | clone-dependencies]: Clone the dependencies using Git (network required)."
|
||||
echo "[ c | build-dependencies]: Build the dependencies (which must have been cloned first!)."
|
||||
echo "[ h | help ]: Display this message."
|
||||
echo ""
|
||||
echo "Note: Before being able to build (debug-profile / release-profile), cloning and building the dependencies is required!"
|
||||
;;
|
||||
*)
|
||||
echo "Unknown action."
|
||||
echo "Unknown action, try '$0 help' or '$0 h'."
|
||||
;;
|
||||
esac
|
||||
|
|
Reference in New Issue