try to make code performant, lets see if this will work.

This commit is contained in:
2026-06-11 18:45:03 +02:00
parent 677f263648
commit c46caf7533
9 changed files with 306 additions and 230 deletions
+14
View File
@@ -21,6 +21,17 @@ clean_build() {
make -j"$(nproc)"
}
release_build() {
if [ -d "build" ]; then
rm -rf "build"
fi
mkdir "build"
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j"$(nproc)"
}
run_executable() {
./build/SubWave
}
@@ -38,6 +49,9 @@ case "${1:-build}" in
run|exec|r)
run_executable
;;
release|rb)
release_build
;;
*)
echo "Usage: $0 {build|clean|cleanbuild|cb}"
exit 1