From 3a9e6b4869ef49b5b4c5ecb15afc9ff4572ddfbf Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Tue, 5 Sep 2023 04:54:10 +0200 Subject: Update build script --- build_and_test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build_and_test.sh') diff --git a/build_and_test.sh b/build_and_test.sh index 70960ae..b595cb6 100644 --- a/build_and_test.sh +++ b/build_and_test.sh @@ -7,14 +7,14 @@ COMPILEPP=g++ OBJ_POSTFIX=.o EXE_POSTFIX= -if command -v gcc >/dev/null 2>&1; then - echo "C compiler found - GCC" -elif command -v cl.exe >/dev/null 2>&1; then +if command -v cl.exe >/dev/null 2>&1; then echo "C compiler found - MSVC" COMPILE=cl.exe COMPILEPP=cl.exe OBJ_POSTFIX=.obj EXE_POSTFIX=.exe +elif command -v gcc >/dev/null 2>&1; then + echo "C compiler found - GCC" elif command -v clang >/dev/null 2>&1; then echo "C compiler found - Clang" COMPILE=clang -- cgit v1.2.3