summaryrefslogtreecommitdiff
path: root/build_and_test.sh
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-09-05 05:24:50 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-09-05 05:24:50 +0200
commit8a81ddee56526c73afad5c575e421753c334c9b0 (patch)
tree493530b3bc003903a655a0034ef44e604c1060e8 /build_and_test.sh
parentede5f94aca6907f4d49c1b2c8d09d31d71b22749 (diff)
downloadkit-8a81ddee56526c73afad5c575e421753c334c9b0.zip
test
Diffstat (limited to 'build_and_test.sh')
-rw-r--r--build_and_test.sh24
1 files changed, 12 insertions, 12 deletions
diff --git a/build_and_test.sh b/build_and_test.sh
index b2002c9..2bb9783 100644
--- a/build_and_test.sh
+++ b/build_and_test.sh
@@ -11,22 +11,22 @@ UNAME=$(command -v uname)
echo "UNAME: ${UNAME}"
-#if command -v cl.exe >/dev/null 2>&1; then
-# echo "C compiler found - MSVC"
+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
-# COMPILEPP=clang
-#else
-# echo "C compiler not found"
-# exit 1
-#fi
+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
+ COMPILEPP=clang
+else
+ echo "C compiler not found"
+ exit 1
+fi
echo ""