Project setup
This commit is contained in:
8
scripts/build-debug.sh
Executable file
8
scripts/build-debug.sh
Executable 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
8
scripts/build-release.sh
Executable 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
8
scripts/build-relwithdeb.sh
Executable 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
32
scripts/build.sh
Executable 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
13
scripts/clean.sh
Executable 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
8
scripts/configure-debug.sh
Executable 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
8
scripts/configure-release.sh
Executable 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
|
||||
8
scripts/configure-relwithdeb.sh
Executable file
8
scripts/configure-relwithdeb.sh
Executable 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
|
||||
Reference in New Issue
Block a user