Skip to content

Commit

Permalink
fix: doxygen from env
Browse files Browse the repository at this point in the history
  • Loading branch information
stergiotis committed Feb 6, 2024
1 parent b30b8c7 commit 15a4622
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 0 additions & 2 deletions public/imzero/imgui/doxygen/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ set -e
here=$(dirname "$(readlink -f "$BASH_SOURCE")")
cd "$here"

export doxygen="$HOME/Downloads/doxygen-1.10.0/bin/doxygen"

"$here/generateImGui.sh"
"$here/generateSpinner.sh"

Expand Down
2 changes: 1 addition & 1 deletion public/imzero/imgui/doxygen/generateImGui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function imgui_comment_preparation() {
}
imgui_comment_preparation imgui.h
imgui_comment_preparation imgui_internal.h
$doxygen config.doxygen
"$IMZERO_DOXYGEN" config.doxygen

cd -
cp "$imgui_dir/xml/namespaceImGui.xml" .
Expand Down
2 changes: 1 addition & 1 deletion public/imzero/imgui/doxygen/generateSpinner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ echo "namespace ImSpinner {" > out.h
cat imspinner.h | grep "inline void Spinner" | sed 's/$/;/g' | sed 's/inline void/IMGUI_API void/g' | tr -d '{' >> out.h
echo "}" >> out.h

$doxygen config.doxygen
"$IMZERO_DOXYGEN" config.doxygen

cd -
cp "$spinner_dir/xml/namespaceImSpinner.xml" .
Expand Down
3 changes: 1 addition & 2 deletions public/imzero/implot/doxygen/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ here=$(dirname "$(readlink -f "$BASH_SOURCE")")
cd "$here"

implot_dir="../../../../../contrib/imgui_implot"
doxygen="$HOME/Downloads/doxygen-1.10.0/bin/doxygen"
package="implot"
dest_dir=".."
xslt_dir="$here/../../imgui/doxygen"
Expand Down Expand Up @@ -39,7 +38,7 @@ function comment_preparation() {
}
comment_preparation implot.h
comment_preparation implot_internal.h
$doxygen config.doxygen
"$IMZERO_DOXYGEN" config.doxygen

cd -
cp "$implot_dir/xml/namespaceImPlot.xml" .
Expand Down

0 comments on commit 15a4622

Please sign in to comment.