Commit f33483dc authored by Arnaud Blanchard's avatar Arnaud Blanchard

Allows to create codeblocks projects'

parent 2c56d6ee
......@@ -16,7 +16,7 @@ set -o pipefail #Error if a pipe fail
if [ $# -ne 3 ]
then
echo "You need 3 arguments but you only have $#"
echo "Usage : create_project.sh <project directory> <build directory> <eclipse|xcode>"
echo "Usage : create_project.sh <project directory> <build directory> <eclipse|xcode|codeblocks>"
exit 1
fi
......@@ -39,7 +39,8 @@ case "$3" in
"eclipse") generator="Eclipse CDT4 - Ninja";;
"xcode") generator="Xcode";;
"sublime") generator="Sublime Text 2 - Ninja";;
"*") echo "The platform can be 'eclipse' or 'xcode', '$3' is unknowned"
"codeblocks") generator="CodeBlocks - Ninja";;
"*") echo "The platform can be 'eclipse', 'xcode', 'sublime' or 'codeblocks', '$3' is unknowned"
exit 1;;
esac
ide_name=$3
......
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