build: extract bootscript/build scripts to common dir

This commit is contained in:
Michael Mandl 2024-03-14 14:37:51 +01:00
parent 149deafdb1
commit 65d4126c7d
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
8 changed files with 13 additions and 21 deletions

View file

@ -1,4 +0,0 @@
#!/usr/bin/env sh
cmake -S . -B .build -G Ninja -D CMAKE_EXPORT_COMPILE_COMMANDS=ON
ln -s .build/compile_commands.json

View file

@ -0,0 +1 @@
../scripts/bootstrap.sh

View file

@ -1,3 +0,0 @@
#!/usr/bin/env sh
cmake --build .build

1
AbstractFactory/build.sh Symbolic link
View file

@ -0,0 +1 @@
../scripts/build.sh

View file

@ -1,4 +0,0 @@
#!/usr/bin/env sh
cmake -S . -B .build -G Ninja -D CMAKE_EXPORT_COMPILE_COMMANDS=ON
ln -s .build/compile_commands.json

1
Builder/bootstrap.sh Symbolic link
View file

@ -0,0 +1 @@
../scripts/bootstrap.sh

View file

@ -1,3 +0,0 @@
#!/usr/bin/env sh
cmake --build .build

1
Builder/build.sh Symbolic link
View file

@ -0,0 +1 @@
../scripts/build.sh

View file

@ -1,4 +0,0 @@
#!/usr/bin/env sh
cmake -S . -B .build -G Ninja -D CMAKE_EXPORT_COMPILE_COMMANDS=ON
ln -s .build/compile_commands.json

1
Singleton/bootstrap.sh Symbolic link
View file

@ -0,0 +1 @@
../scripts/bootstrap.sh

View file

@ -1,3 +0,0 @@
#!/usr/bin/env sh
cmake --build .build

1
Singleton/build.sh Symbolic link
View file

@ -0,0 +1 @@
../scripts/build.sh

4
scripts/bootstrap.sh Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env sh
cmake -S . -B .build -G Ninja -D CMAKE_EXPORT_COMPILE_COMMANDS=ON
ln --symbolic --force .build/compile_commands.json

3
scripts/build.sh Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
cmake --build .build