diff options
-rw-r--r-- | build_and_test.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |