Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Build both types.

  • Loading branch information...
commit 946581879061ab575b1c83cc722a7ca429356baf 1 parent 90537a6
@chenshuo authored
Showing with 11 additions and 3 deletions.
  1. +1 −1  Doxyfile
  2. +10 −2 build.sh
View
2  Doxyfile
@@ -515,7 +515,7 @@ LAYOUT_FILE =
# The QUIET tag can be used to turn on/off the messages that are generated
# by doxygen. Possible values are YES and NO. If left blank NO is used.
-QUIET = NO
+QUIET = YES
# The WARNINGS tag can be used to turn on/off the warning messages that are
# generated by doxygen. Possible values are YES and NO. If left blank
View
12 build.sh
@@ -1,7 +1,15 @@
#!/bin/sh
+set -x
+
SOURCE_DIR=`pwd`
BUILD_DIR=${BUILD_DIR:-../build}
-mkdir -p $BUILD_DIR
-cd $BUILD_DIR && cmake $SOURCE_DIR && make
+BUILD_TYPE=${BUILD_TYPE:-Debug}
+
+mkdir -p $BUILD_DIR/$BUILD_TYPE \
+ && cd $BUILD_DIR/$BUILD_TYPE \
+ && cmake --graphviz=dep.dot -DCMAKE_BUILD_TYPE=$BUILD_TYPE $SOURCE_DIR \
+ && make
+
+cd $SOURCE_DIR && doxygen
Please sign in to comment.
Something went wrong with that request. Please try again.