summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-29 14:52:15 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-29 14:52:15 +0200
commit3baf3d0553435a29773c75864e66f86af7e3fe4c (patch)
treeba240b38fa50ab65875298e785cdeae440c1e9fd /build.sh
parentb9c2581d70d76da143bfa55b12d5cc912b1b08df (diff)
downloadedoors-3baf3d0553435a29773c75864e66f86af7e3fe4c.zip
edoors-3baf3d0553435a29773c75864e66f86af7e3fe4c.tar.gz
enable doxygen usage
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index eca2464..8269b17 100755
--- a/build.sh
+++ b/build.sh
@@ -41,6 +41,13 @@ function cmake_make() {
cd ..
}
+function cmake_doc() {
+ cmake_init
+ echo -e " * cmake doc\n" && cd $BUILD_DIR || exit 1
+ make doc || exit 1
+ cd ..
+}
+
function cmake_exec() {
cmake_init
echo -e " * execute tests\n" && $BUILD_DIR/tests/tests || exit 1
@@ -67,6 +74,8 @@ for arg in $@; do
cmd="cmake_make";;
x|exec)
cmd="cmake_exec";;
+ d|doc)
+ cmd="cmake_doc";;
*)
echo "unknown command ${arg}" && exit 1
esac