build: extract bootscript/build scripts to common dir

main
mandlm 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