v2.0.1 add tin examples
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user