Files
opengl-learning/lessons/5. Advanced Lighting/9. Deferred Shading/configure.sh
2021-02-12 15:43:03 +01:00

10 lines
172 B
Bash

#!/bin/bash
if [[ $1 == "-d" ]]; then
echo "Debug configuration"
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
else
echo "Release configuration"
cmake -S . -B build
fi