File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
+
3
+ if [[ $PATH != * " 5.15" * ]]; then
4
+ echo " Please setup Qt5, as Qt6 will force C++17"
5
+ exit
6
+ fi
2
7
3
8
rm -rf build
4
9
for compiler in gcc clang; do
5
10
for cpp in cpp14 cpp17 cpp20 cpp23; do
6
- echo " ========= $compiler - $cpp ==========="
11
+ echo -e " \n\n ========= $compiler - $cpp ==========="
7
12
cmake --preset $cpp -$compiler .
8
13
cd build/$cpp -$compiler
9
14
ninja || exit 1
13
18
14
19
for compiler in gcc clang; do
15
20
for cpp in cpp14 cpp17 cpp20 cpp23; do
16
- echo " \n\n========= $compiler - $cpp ==========="
21
+ echo -e " \n\n========= $compiler - $cpp ==========="
17
22
cd build/$cpp -$compiler
18
23
./tst_kdalgorithms -silent
19
24
20
25
if [ ! $? -eq 0 ]; then
21
- echo " \n\n\n FAILURE \n\n\n"
26
+ echo -e " \n\n\n FAILURE \n\n\n"
22
27
exit 1
23
28
fi
24
29
You can’t perform that action at this time.
0 commit comments