fix-doxygen
This commit is contained in:
+12
-16
@@ -338,10 +338,11 @@ function main() {
|
|||||||
echo_info "Will compile with verbose instructions"
|
echo_info "Will compile with verbose instructions"
|
||||||
shift;;
|
shift;;
|
||||||
--build-doxygen)
|
--build-doxygen)
|
||||||
CMAKE_CMD="$CMAKE_CMD -DGENERATE_DOXYGEN=ON"
|
CMAKE_CMD="$CMAKE_CMD -DGENERATE_DOXYGEN=ON"
|
||||||
BUILD_DOXYGEN=1
|
TARGET_LIST="$TARGET_LIST doc"
|
||||||
echo_info "Will build doxygen support"
|
BUILD_DOXYGEN=1
|
||||||
shift;;
|
echo_info "Will build doxygen support"
|
||||||
|
shift;;
|
||||||
--disable-T-Tracer)
|
--disable-T-Tracer)
|
||||||
CMAKE_CMD="$CMAKE_CMD -DT_TRACER=False"
|
CMAKE_CMD="$CMAKE_CMD -DT_TRACER=False"
|
||||||
echo_info "Disabling the T tracer"
|
echo_info "Disabling the T tracer"
|
||||||
@@ -490,6 +491,13 @@ function main() {
|
|||||||
echo_info "Running \"$CMAKE_CMD\""
|
echo_info "Running \"$CMAKE_CMD\""
|
||||||
eval $CMAKE_CMD
|
eval $CMAKE_CMD
|
||||||
compilations $BUILD_DIR all.txt $TARGET_LIST
|
compilations $BUILD_DIR all.txt $TARGET_LIST
|
||||||
|
###################
|
||||||
|
# Doxygen Support #
|
||||||
|
###################
|
||||||
|
if [ "$BUILD_DOXYGEN" = "1" ] ; then
|
||||||
|
echo_info "Built Doxygen based documentation. The documentation file is located here: $OPENAIR_DIR/$BUILD_DIR/build/html/index.html"
|
||||||
|
echo_info "if you can't open this as file:///... in your browser, see apparmor over complex configuration, or move the doc tree in a place that suits this 'security' apparmor"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$UE" = 1 ] ; then
|
if [ "$UE" = 1 ] ; then
|
||||||
|
|
||||||
@@ -513,18 +521,6 @@ function main() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
###################
|
|
||||||
# Doxygen Support #
|
|
||||||
###################
|
|
||||||
if [ "$BUILD_DOXYGEN" = "1" ] ; then
|
|
||||||
doxygen_log=$OPENAIR_DIR/cmake_targets/log/doxygen.log
|
|
||||||
echo_info "Building Doxygen based documentation. The documentation file is located here: $OPENAIR_DIR/targets/DOCS/html/index.html"
|
|
||||||
echo_info "Doxygen generation log is located here: $doxygen_log"
|
|
||||||
echo_info "Generating Doxygen files....please wait"
|
|
||||||
(
|
|
||||||
$CMAKE --build . --target doc
|
|
||||||
) >& $doxygen_log
|
|
||||||
fi
|
|
||||||
|
|
||||||
##############
|
##############
|
||||||
# Auto-tests #
|
# Auto-tests #
|
||||||
|
|||||||
Reference in New Issue
Block a user