set OUT_DIR environment variable to the directory where you want to generate the models
OUT_DIR
bash OUT_DIR=./src cargo build -vv --timings
bash OUT_DIR=./resources; cargo build --release -vv --timings -j 2