v2.0.1 add tin examples

This commit is contained in:
2025-05-19 12:40:06 +08:00
parent 3789f373ce
commit b92f48a4f8
14 changed files with 276 additions and 437 deletions

View File

@@ -19,7 +19,7 @@ if [[ $# == 0 || ${1} == "help" ]]; then
exit 0
fi
package=gctl_toolkits
package=gctl_tutorials
address=/opt/stow
taress=/usr/local
option="-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${address}/${package}"
@@ -38,9 +38,9 @@ elif [[ ${1} == "configure" ]]; then
cd build && rm -rf * && cmake .. ${option}
elif [[ ${1} == "build" ]]; then
cd build && make
elif [[ ${1} == "install" ]]; then
cd build && sudo make install
sudo stow --dir=${address} --target=${taress} -S ${package}
#elif [[ ${1} == "install" ]]; then
# cd build && sudo make install
# sudo stow --dir=${address} --target=${taress} -S ${package}
elif [[ ${1} == "clean" ]]; then
rm -rf build/
elif [[ ${1} == "uninstall" ]]; then