adjusting settings and slide_model.rs

These are trying to get more code written in Rust rather than c++. Not
there yet, but I need to sync these to another machine.
This commit is contained in:
Chris Cochrun 2023-03-28 06:15:11 -05:00
parent ec95ba0d89
commit 236503e877
10 changed files with 387 additions and 108 deletions

View file

@ -1,5 +1,30 @@
#!/bin/sh
cmake -B bld/ .
make -j8 --dir bld/
rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/
function build_debug () {
cmake -B bld/ .
make -j8 --dir bld/
rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/
}
function build_release () {
cmake -DCMAKE_BUILD_TYPE=Release -B bld/ .
make -j8 --dir bld/
rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/
}
while [[ $# -gt 0 ]]; do
case $1 in
-d|--debug)
build_debug
shift # past value
;;
-r|--release)
build_release
shift # past value
;;
*)
POSITIONAL_ARGS+=("$1") # save positional arg
shift # past argument
;;
esac
done