Project setup

This commit is contained in:
2026-04-11 17:29:03 -04:00
commit 9cb8c1854f
34 changed files with 609 additions and 0 deletions

8
scripts/build-debug.sh Executable file
View File

@@ -0,0 +1,8 @@
#/bin/bash
cd ..
mkdir -p build
cd build
mkdir -p debug
cd debug
ninja

8
scripts/build-release.sh Executable file
View File

@@ -0,0 +1,8 @@
#/bin/bash
cd ..
mkdir -p build
cd build
mkdir -p release
cd release
ninja

8
scripts/build-relwithdeb.sh Executable file
View File

@@ -0,0 +1,8 @@
#/bin/bash
cd ..
mkdir -p build
cd build
mkdir -p relwithdeb
cd relwithdeb
ninja

32
scripts/build.sh Executable file
View File

@@ -0,0 +1,32 @@
#!/bin/bash
cd ../
mkdir -p build
cd build || exit
mkdir -p debug
mkdir -p release
mkdir -p relwithdeb
cd debug || exit
cmake ../../ -G Ninja -DCMAKE_BUILD_TYPE=Debug &
cd ../
cd release || exit
cmake ../../ -G Ninja -DCMAKE_BUILD_TYPE=Release &
cd ../
cd relwithdeb || exit
cmake ../../ -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo &
cd ../
wait
cd debug || exit
ninja &
cd ../
cd release || exit
ninja &
cd ../
cd relwithdeb || exit
ninja &
cd ../..
wait

13
scripts/clean.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
cd ..
cd build/debug || exit
ninja clean
cd ..
cd release || exit
ninja clean
cd ..
cd relwithdeb || exit
ninja clean

8
scripts/configure-debug.sh Executable file
View File

@@ -0,0 +1,8 @@
#/bin/bash
cd ..
mkdir -p build
cd build
mkdir -p debug
cd debug
cmake ../../ -G Ninja -DCMAKE_BUILD_TYPE=Debug

8
scripts/configure-release.sh Executable file
View File

@@ -0,0 +1,8 @@
#/bin/bash
cd ..
mkdir -p build
cd build
mkdir -p release
cd release
cmake ../../ -G Ninja -DCMAKE_BUILD_TYPE=Release

View File

@@ -0,0 +1,8 @@
#/bin/bash
cd ..
mkdir -p build
cd build
mkdir -p relwithdeb
cd relwithdeb
cmake ../../ -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo