Afegides utilitats per a linux

Arreglats alguns includes
This commit is contained in:
2024-10-01 17:24:38 +02:00
parent dee5bcb4e4
commit 7dbddd5524
9 changed files with 41 additions and 207 deletions

8
linux-utils/check-includes.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
SOURCEPATH=../source/
for i in "$SOURCEPATH"/*.cpp
do
include-what-you-use -D DEBUG -D VERBOSE -std=c++11 -Wall "$i"
done

6
linux-utils/go.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
SECONDS=0
make linux_debug
duration=$SECONDS
echo "$((duration / 60)) minutes and $((duration % 60)) seconds elapsed."

BIN
linux-utils/include-what-you-use Executable file

Binary file not shown.