summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-09-05 04:54:10 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-09-05 04:54:10 +0200
commit3a9e6b4869ef49b5b4c5ecb15afc9ff4572ddfbf (patch)
tree3114cd811f596b649a9f2d3163eccfd6b34ee65f
parent38e2411f04e3ade11c207f0a9868cad9008ea052 (diff)
downloadkit-3a9e6b4869ef49b5b4c5ecb15afc9ff4572ddfbf.zip
Update build script
-rw-r--r--build_and_test.sh6
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